home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 …ember: Reference Library / Dev.CD Dec 94.toast / Technical Documentation / Mac Tech Notes (DocViewer) / OV • Overview / OV08 Managerial Abuse < prev    next >
MacBinary  |  1994-10-19  |  52.8 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Oct 13 07:12:18 1994, modified Wed Oct 19 09:36:54 1994, creator 'HLX2', type 'ONLN', 52174 bytes "OV08 Managerial Abuse" , at 0xcc4e 1586 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 15 4f 56 30 38 20 4d | 61 6e 61 67 65 72 69 61 |..OV08 M|anageria|
|00000010| 6c 20 41 62 75 73 65 00 | 00 00 00 00 00 00 00 00 |l Abuse.|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 cb ce 00 | 00 06 32 aa c2 c6 92 aa |........|..2.....|
|00000060| ca d1 76 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..v.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3d e4 00 00 |........|....=...|
|00000080| 4f 56 20 38 20 2d 20 4d | 61 6e 61 67 65 72 69 61 |OV 8 - M|anageria|
|00000090| 6c 20 41 62 75 73 65 0d | 4f 76 65 72 76 69 65 77 |l Abuse.|Overview|
|000000a0| 09 0d 57 72 69 74 74 65 | 6e 20 62 79 3a 09 42 6f |..Writte|n by:.Bo|
|000000b0| 33 62 20 4a 6f 68 6e 73 | 6f 6e 09 41 75 67 75 73 |3b Johns|on.Augus|
|000000c0| 74 20 31 39 38 38 0d 57 | 68 65 6e 20 75 73 69 6e |t 1988.W|hen usin|
|000000d0| 67 20 74 68 65 20 76 61 | 72 69 6f 75 73 20 70 69 |g the va|rious pi|
|000000e0| 65 63 65 73 20 6f 66 20 | 74 68 65 20 4d 61 63 69 |eces of |the Maci|
|000000f0| 6e 74 6f 73 68 20 6f 70 | 65 72 61 74 69 6e 67 20 |ntosh op|erating |
|00000100| 73 79 73 74 65 6d 20 74 | 68 65 72 65 20 69 73 20 |system t|here is |
|00000110| 61 20 74 65 6d 70 74 61 | 74 69 6f 6e 20 74 6f 20 |a tempta|tion to |
|00000120| 74 72 79 20 74 6f 20 73 | 74 72 65 74 63 68 20 74 |try to s|tretch t|
|00000130| 68 65 20 62 75 69 6c 74 | 2d 69 6e 20 4d 61 6e 61 |he built|-in Mana|
|00000140| 67 65 72 73 20 74 6f 6f | 20 66 61 72 2e 20 44 65 |gers too| far. De|
|00000150| 76 65 6c 6f 70 65 72 73 | 20 73 68 6f 75 6c 64 20 |velopers| should |
|00000160| 62 65 20 61 77 61 72 65 | 20 6f 66 20 74 68 65 20 |be aware| of the |
|00000170| 69 6e 74 65 6e 64 65 64 | 20 70 75 72 70 6f 73 65 |intended| purpose|
|00000180| 20 6f 66 20 74 68 65 20 | 76 61 72 69 6f 75 73 20 | of the |various |
|00000190| 4d 61 6e 61 67 65 72 73 | 20 61 6e 64 20 62 65 77 |Managers| and bew|
|000001a0| 61 72 65 20 6f 66 20 75 | 73 69 6e 67 20 74 68 65 |are of u|sing the|
|000001b0| 6d 20 66 6f 72 20 74 68 | 69 6e 67 73 20 74 68 61 |m for th|ings tha|
|000001c0| 74 20 74 68 65 79 20 77 | 65 72 65 20 6e 6f 74 20 |t they w|ere not |
|000001d0| 64 65 73 69 67 6e 65 64 | 20 74 6f 20 68 61 6e 64 |designed| to hand|
|000001e0| 6c 65 2e 20 49 66 20 65 | 78 74 65 6e 64 65 64 20 |le. If e|xtended |
|000001f0| 62 65 79 6f 6e 64 20 74 | 68 65 69 72 20 64 65 73 |beyond t|heir des|
|00000200| 69 67 6e 20 67 6f 61 6c | 73 2c 20 74 68 65 79 20 |ign goal|s, they |
|00000210| 77 69 6c 6c 20 62 65 63 | 6f 6d 65 20 73 6c 6f 77 |will bec|ome slow|
|00000220| 20 61 6e 64 20 75 6e 77 | 69 65 6c 64 79 2e 0d 4d | and unw|ieldy..M|
|00000230| 61 6e 61 67 65 72 73 20 | 74 6f 20 61 76 6f 69 64 |anagers |to avoid|
|00000240| 20 61 62 75 73 69 6e 67 | 2c 20 61 6e 64 20 74 68 | abusing|, and th|
|00000250| 65 20 74 79 70 65 20 6f | 66 20 61 62 75 73 65 3a |e type o|f abuse:|
|00000260| 0d 31 29 09 54 68 65 20 | 52 65 73 6f 75 72 63 65 |.1).The |Resource|
|00000270| 20 4d 61 6e 61 67 65 72 | 20 69 73 20 6e 6f 74 20 | Manager| is not |
|00000280| 61 20 64 61 74 61 62 61 | 73 65 2e 0d 32 29 09 54 |a databa|se..2).T|
|00000290| 68 65 20 54 65 78 74 45 | 64 69 74 20 70 61 63 6b |he TextE|dit pack|
|000002a0| 61 67 65 20 69 73 20 6e | 6f 74 20 61 20 77 6f 72 |age is n|ot a wor|
|000002b0| 64 20 70 72 6f 63 65 73 | 73 6f 72 2e 0d 33 29 09 |d proces|sor..3).|
|000002c0| 54 68 65 20 4c 69 73 74 | 20 4d 61 6e 61 67 65 72 |The List| Manager|
|000002d0| 20 69 73 20 6e 6f 74 20 | 61 20 73 70 72 65 61 64 | is not |a spread|
|000002e0| 73 68 65 65 74 2e 0d 34 | 29 09 54 68 65 20 44 69 |sheet..4|).The Di|
|000002f0| 61 6c 6f 67 20 4d 61 6e | 61 67 65 72 20 69 73 20 |alog Man|ager is |
|00000300| 6e 6f 74 20 61 20 75 73 | 65 72 20 69 6e 74 65 72 |not a us|er inter|
|00000310| 66 61 63 65 2e 0d 4e 6f | 20 66 72 65 65 20 64 61 |face..No| free da|
|00000320| 74 61 62 61 73 65 0d 41 | 66 74 65 72 20 75 73 69 |tabase.A|fter usi|
|00000330| 6e 67 20 74 68 65 20 52 | 65 73 6f 75 72 63 65 20 |ng the R|esource |
|00000340| 4d 61 6e 61 67 65 72 20 | 66 6f 72 20 61 20 73 68 |Manager |for a sh|
|00000350| 6f 72 74 20 74 69 6d 65 | 2c 20 69 74 73 20 76 69 |ort time|, its vi|
|00000360| 72 74 75 65 73 20 62 65 | 63 6f 6d 65 20 61 70 70 |rtues be|come app|
|00000370| 61 72 65 6e 74 3a 20 69 | 74 20 69 73 20 76 65 72 |arent: i|t is ver|
|00000380| 79 20 66 6c 65 78 69 62 | 6c 65 2c 20 69 74 20 69 |y flexib|le, it i|
|00000390| 73 20 65 61 73 79 20 74 | 6f 20 75 73 65 2c 20 69 |s easy t|o use, i|
|000003a0| 74 20 67 69 76 65 73 20 | 64 69 73 6b 20 62 61 73 |t gives |disk bas|
|000003b0| 65 64 20 49 2f 4f 20 77 | 69 74 68 20 6e 6f 20 65 |ed I/O w|ith no e|
|000003c0| 78 74 72 61 20 63 61 6c | 6c 73 2c 20 64 61 74 61 |xtra cal|ls, data|
|000003d0| 20 63 61 6e 20 62 65 20 | 65 78 74 72 61 63 74 65 | can be |extracte|
|000003e0| 64 20 62 79 20 65 69 74 | 68 65 72 20 6e 61 6d 65 |d by eit|her name|
|000003f0| 20 6f 72 20 49 44 20 6e | 75 6d 62 65 72 2c 20 61 | or ID n|umber, a|
|00000400| 6e 64 20 74 68 65 20 64 | 61 74 61 20 69 73 20 73 |nd the d|ata is s|
|00000410| 74 6f 72 65 64 20 74 72 | 61 6e 73 70 61 72 65 6e |tored tr|ansparen|
|00000420| 74 6c 79 20 73 6f 20 74 | 68 65 20 63 61 6c 6c 65 |tly so t|he calle|
|00000430| 72 20 63 61 6e 20 70 72 | 65 74 65 6e 64 20 74 68 |r can pr|etend th|
|00000440| 65 20 64 61 74 61 20 69 | 73 20 61 6c 77 61 79 73 |e data i|s always|
|00000450| 20 61 76 61 69 6c 61 62 | 6c 65 20 69 6e 20 61 20 | availab|le in a |
|00000460| 76 69 72 74 75 61 6c 20 | 6d 65 6d 6f 72 79 20 66 |virtual |memory f|
|00000470| 61 73 68 69 6f 6e 2e 20 | 57 69 74 68 20 73 75 63 |ashion. |With suc|
|00000480| 68 20 77 69 64 65 20 72 | 61 6e 67 69 6e 67 20 61 |h wide r|anging a|
|00000490| 64 76 61 6e 74 61 67 65 | 73 2c 20 69 74 20 77 6f |dvantage|s, it wo|
|000004a0| 75 6c 64 20 73 65 65 6d | 20 74 68 61 74 20 74 68 |uld seem| that th|
|000004b0| 65 20 52 65 73 6f 75 72 | 63 65 20 4d 61 6e 61 67 |e Resour|ce Manag|
|000004c0| 65 72 20 73 68 6f 75 6c | 64 20 62 65 20 75 73 65 |er shoul|d be use|
|000004d0| 64 20 66 6f 72 20 65 76 | 65 72 79 74 68 69 6e 67 |d for ev|erything|
|000004e0| 2e 20 49 74 20 73 68 6f | 75 6c 64 20 62 65 20 61 |. It sho|uld be a|
|000004f0| 70 70 61 72 65 6e 74 20 | 74 68 61 74 20 74 68 65 |pparent |that the|
|00000500| 20 54 41 4e 53 54 41 41 | 46 4c 20 28 54 68 65 72 | TANSTAA|FL (Ther|
|00000510| 65 20 41 69 6e d5 74 20 | 4e 6f 20 53 75 63 68 20 |e Ain.t |No Such |
|00000520| 54 68 69 6e 67 20 41 73 | 20 41 20 46 72 65 65 20 |Thing As| A Free |
|00000530| 4c 75 6e 63 68 29 20 70 | 68 69 6c 6f 73 6f 70 68 |Lunch) p|hilosoph|
|00000540| 79 20 61 70 70 6c 69 65 | 73 20 74 6f 20 74 68 65 |y applie|s to the|
|00000550| 20 52 65 73 6f 75 72 63 | 65 20 4d 61 6e 61 67 65 | Resourc|e Manage|
|00000560| 72 20 61 73 20 77 65 6c | 6c 2e 20 49 66 20 6f 76 |r as wel|l. If ov|
|00000570| 65 72 65 78 74 65 6e 64 | 65 64 2c 20 74 68 65 20 |erextend|ed, the |
|00000580| 52 65 73 6f 75 72 63 65 | 20 4d 61 6e 61 67 65 72 |Resource| Manager|
|00000590| 20 77 69 6c 6c 20 62 65 | 63 6f 6d 65 20 73 6c 6f | will be|come slo|
|000005a0| 77 20 61 6e 64 20 75 6e | 75 73 61 62 6c 65 2e 0d |w and un|usable..|
|000005b0| 54 68 65 20 52 65 73 6f | 75 72 63 65 20 4d 61 6e |The Reso|urce Man|
|000005c0| 61 67 65 72 20 69 73 20 | 6e 6f 74 20 61 20 64 61 |ager is |not a da|
|000005d0| 74 61 62 61 73 65 2c 20 | 6e 6f 72 20 69 73 20 69 |tabase, |nor is i|
|000005e0| 74 20 61 20 67 6f 6f 64 | 20 77 61 79 20 74 6f 20 |t a good| way to |
|000005f0| 73 74 6f 72 65 20 75 73 | 65 72 20 64 61 74 61 2e |store us|er data.|
|00000600| 20 20 41 6c 74 68 6f 75 | 67 68 20 69 74 20 63 61 | Althou|gh it ca|
|00000610| 6e 20 62 65 20 75 73 65 | 64 20 74 6f 20 73 74 6f |n be use|d to sto|
|00000620| 72 65 20 76 65 72 79 20 | 73 6d 61 6c 6c 20 61 6d |re very |small am|
|00000630| 6f 75 6e 74 73 20 6f 66 | 20 64 61 74 61 2c 20 73 |ounts of| data, s|
|00000640| 75 63 68 20 61 73 20 63 | 6f 6e 66 69 67 75 72 61 |uch as c|onfigura|
|00000650| 74 69 6f 6e 20 64 61 74 | 61 2c 20 61 6e 64 20 66 |tion dat|a, and f|
|00000660| 65 61 74 75 72 65 73 20 | 73 6f 6d 65 20 6f 66 20 |eatures |some of |
|00000670| 74 68 65 20 73 61 6d 65 | 20 63 68 61 72 61 63 74 |the same| charact|
|00000680| 65 72 69 73 74 69 63 73 | 20 6f 66 20 64 61 74 61 |eristics| of data|
|00000690| 62 61 73 65 73 20 69 6e | 20 67 65 6e 65 72 61 6c |bases in| general|
|000006a0| 2c 20 74 68 65 20 52 65 | 73 6f 75 72 63 65 20 4d |, the Re|source M|
|000006b0| 61 6e 61 67 65 72 20 69 | 73 20 61 20 73 70 65 63 |anager i|s a spec|
|000006c0| 69 61 6c 69 7a 65 64 20 | 74 6f 6f 6c 20 64 65 73 |ialized |tool des|
|000006d0| 69 67 6e 65 64 20 73 70 | 65 63 69 66 69 63 61 6c |igned sp|ecifical|
|000006e0| 6c 79 20 66 6f 72 20 74 | 68 65 20 74 79 70 65 73 |ly for t|he types|
|000006f0| 20 6f 66 20 74 68 69 6e | 67 73 20 74 68 61 74 20 | of thin|gs that |
|00000700| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 53 79 |the Maci|ntosh Sy|
|00000710| 73 74 65 6d 20 6e 65 65 | 64 73 2e 20 49 74 73 20 |stem nee|ds. Its |
|00000720| 6d 61 69 6e 20 76 69 72 | 74 75 65 20 66 6f 72 20 |main vir|tue for |
|00000730| 73 79 73 74 65 6d 20 75 | 73 65 20 69 73 20 74 68 |system u|se is th|
|00000740| 61 74 20 61 20 6c 61 72 | 67 65 20 76 61 72 69 65 |at a lar|ge varie|
|00000750| 74 79 20 6f 66 20 64 61 | 74 61 20 63 61 6e 20 62 |ty of da|ta can b|
|00000760| 65 20 73 74 6f 72 65 64 | 20 6f 6e 20 64 69 73 6b |e stored| on disk|
|00000770| 2c 20 61 6e 64 20 61 63 | 63 65 73 73 65 64 20 77 |, and ac|cessed w|
|00000780| 68 65 6e 20 6e 65 65 64 | 65 64 2e 20 54 68 69 73 |hen need|ed. This|
|00000790| 20 69 73 20 61 20 70 72 | 69 6d 69 74 69 76 65 20 | is a pr|imitive |
|000007a0| 66 6f 72 6d 20 6f 66 20 | 76 69 72 74 75 61 6c 20 |form of |virtual |
|000007b0| 6d 65 6d 6f 72 79 20 77 | 68 69 63 68 20 65 78 74 |memory w|hich ext|
|000007c0| 65 6e 64 73 20 74 68 65 | 20 70 6f 77 65 72 20 6f |ends the| power o|
|000007d0| 66 20 74 68 65 20 73 79 | 73 74 65 6d 20 62 65 79 |f the sy|stem bey|
|000007e0| 6f 6e 64 20 77 68 61 74 | 20 74 68 65 20 52 41 4d |ond what| the RAM|
|000007f0| 20 73 75 70 70 6c 69 65 | 73 2e 20 52 65 6d 65 6d | supplie|s. Remem|
|00000800| 62 65 72 69 6e 67 20 74 | 68 61 74 20 74 68 65 20 |bering t|hat the |
|00000810| 52 65 73 6f 75 72 63 65 | 20 4d 61 6e 61 67 65 72 |Resource| Manager|
|00000820| 20 77 61 73 20 77 72 69 | 74 74 65 6e 20 69 6e 20 | was wri|tten in |
|00000830| 61 6e 20 65 72 61 20 6f | 66 20 31 32 38 4b 20 52 |an era o|f 128K R|
|00000840| 41 4d 2c 20 69 74 20 73 | 68 6f 75 6c 64 20 62 65 |AM, it s|hould be|
|00000850| 20 61 70 70 61 72 65 6e | 74 20 74 68 61 74 20 69 | apparen|t that i|
|00000860| 74 20 69 73 20 6f 70 74 | 69 6d 69 7a 65 64 20 74 |t is opt|imized t|
|00000870| 6f 20 75 73 65 20 61 73 | 20 6c 69 74 74 6c 65 20 |o use as| little |
|00000880| 52 41 4d 20 61 73 20 70 | 6f 73 73 69 62 6c 65 2e |RAM as p|ossible.|
|00000890| 0d 54 68 65 20 52 65 73 | 6f 75 72 63 65 20 4d 61 |.The Res|ource Ma|
|000008a0| 6e 61 67 65 72 20 75 73 | 65 73 20 61 20 73 69 6d |nager us|es a sim|
|000008b0| 70 6c 65 20 64 61 74 61 | 20 73 74 72 75 63 74 75 |ple data| structu|
|000008c0| 72 65 20 66 6f 72 20 61 | 63 63 65 73 73 69 6e 67 |re for a|ccessing|
|000008d0| 20 74 68 65 20 64 61 74 | 61 20 69 6e 20 74 68 65 | the dat|a in the|
|000008e0| 20 66 69 6c 65 2e 20 45 | 78 61 6d 69 6e 69 6e 67 | file. E|xamining|
|000008f0| 20 74 68 65 20 52 65 73 | 6f 75 72 63 65 20 4d 61 | the Res|ource Ma|
|00000900| 6e 61 67 65 72 20 66 69 | 6c 65 20 66 6f 72 6d 61 |nager fi|le forma|
|00000910| 74 20 63 61 6e 20 73 68 | 6f 77 20 73 6f 6d 65 20 |t can sh|ow some |
|00000920| 6f 66 20 74 68 65 20 74 | 72 61 64 65 6f 66 66 73 |of the t|radeoffs|
|00000930| 20 65 78 70 65 63 74 65 | 64 2e 20 46 6f 72 20 69 | expecte|d. For i|
|00000940| 6e 73 74 61 6e 63 65 2c | 20 74 68 65 72 65 20 69 |nstance,| there i|
|00000950| 73 20 61 20 6c 69 6e 65 | 61 72 6c 79 20 61 63 63 |s a line|arly acc|
|00000960| 65 73 73 65 64 20 74 61 | 62 6c 65 20 77 68 69 63 |essed ta|ble whic|
|00000970| 68 20 64 65 73 63 72 69 | 62 65 73 20 61 6c 6c 20 |h descri|bes all |
|00000980| 6f 66 20 74 68 65 20 70 | 6f 73 73 69 62 6c 65 20 |of the p|ossible |
|00000990| 72 65 73 6f 75 72 63 65 | 20 74 79 70 65 73 20 74 |resource| types t|
|000009a0| 68 61 74 20 61 72 65 20 | 69 6e 20 74 68 65 20 63 |hat are |in the c|
|000009b0| 75 72 72 65 6e 74 20 66 | 69 6c 65 2e 20 57 69 74 |urrent f|ile. Wit|
|000009c0| 68 6f 75 74 20 74 6f 6f | 20 6d 75 63 68 20 74 68 |hout too| much th|
|000009d0| 6f 75 67 68 74 20 69 74 | 20 73 68 6f 75 6c 64 20 |ought it| should |
|000009e0| 62 65 20 61 70 70 61 72 | 65 6e 74 20 74 68 61 74 |be appar|ent that|
|000009f0| 20 69 66 20 61 20 66 69 | 6c 65 20 69 73 20 63 72 | if a fi|le is cr|
|00000a00| 65 61 74 65 64 20 77 69 | 74 68 20 74 68 6f 75 73 |eated wi|th thous|
|00000a10| 61 6e 64 73 20 6f 66 20 | 64 69 66 66 65 72 65 6e |ands of |differen|
|00000a20| 74 20 72 65 73 6f 75 72 | 63 65 20 74 79 70 65 73 |t resour|ce types|
|00000a30| 20 74 68 65 6e 20 61 63 | 63 65 73 73 20 74 6f 20 | then ac|cess to |
|00000a40| 74 68 6f 73 65 20 72 65 | 73 6f 75 72 63 65 73 20 |those re|sources |
|00000a50| 77 69 6c 6c 20 62 65 20 | 73 6c 6f 77 2e 20 54 68 |will be |slow. Th|
|00000a60| 65 20 72 65 61 73 6f 6e | 3f 20 20 45 61 63 68 20 |e reason|? Each |
|00000a70| 61 63 63 65 73 73 20 72 | 65 71 75 69 72 65 73 20 |access r|equires |
|00000a80| 73 63 61 6e 6e 69 6e 67 | 20 61 20 6c 69 6e 65 61 |scanning| a linea|
|00000a90| 72 20 61 72 72 61 79 2e | 20 20 54 68 65 72 65 20 |r array.| There |
|00000aa0| 69 73 20 6e 6f 20 68 61 | 73 68 69 6e 67 20 74 65 |is no ha|shing te|
|00000ab0| 63 68 6e 69 71 75 65 20 | 75 73 65 64 20 6f 6e 20 |chnique |used on |
|00000ac0| 74 68 65 20 72 65 73 6f | 75 72 63 65 20 74 79 70 |the reso|urce typ|
|00000ad0| 65 73 2e 0d 54 68 65 72 | 65 20 69 73 20 61 20 73 |es..Ther|e is a s|
|00000ae0| 69 6d 69 6c 61 72 20 6c | 69 6e 65 61 72 20 74 61 |imilar l|inear ta|
|00000af0| 62 6c 65 20 66 6f 72 20 | 74 68 65 20 72 65 73 6f |ble for |the reso|
|00000b00| 75 72 63 65 20 49 44 73 | 20 74 68 65 6d 73 65 6c |urce IDs| themsel|
|00000b10| 76 65 73 2e 20 42 61 73 | 65 64 20 6f 6e 20 74 68 |ves. Bas|ed on th|
|00000b20| 65 20 70 72 65 76 69 6f | 75 73 20 64 69 73 63 75 |e previo|us discu|
|00000b30| 73 73 69 6f 6e 20 69 74 | 20 73 68 6f 75 6c 64 20 |ssion it| should |
|00000b40| 61 6c 73 6f 20 62 65 20 | 61 70 70 61 72 65 6e 74 |also be |apparent|
|00000b50| 20 74 68 61 74 20 69 66 | 20 74 68 65 72 65 20 61 | that if| there a|
|00000b60| 72 65 20 74 68 6f 75 73 | 61 6e 64 73 20 6f 66 20 |re thous|ands of |
|00000b70| 72 65 73 6f 75 72 63 65 | 73 20 6f 66 20 61 20 73 |resource|s of a s|
|00000b80| 70 65 63 69 66 69 63 20 | 74 79 70 65 20 74 68 61 |pecific |type tha|
|00000b90| 74 20 74 68 65 20 61 63 | 63 65 73 73 20 74 69 6d |t the ac|cess tim|
|00000ba0| 65 20 77 69 6c 6c 20 62 | 65 63 6f 6d 65 20 6d 75 |e will b|ecome mu|
|00000bb0| 63 68 20 6c 61 72 67 65 | 72 2e 20 49 74 20 77 69 |ch large|r. It wi|
|00000bc0| 6c 6c 20 62 65 20 69 6d | 70 65 72 63 65 70 74 69 |ll be im|percepti|
|00000bd0| 62 6c 65 20 6f 6e 20 61 | 20 73 69 6e 67 6c 65 20 |ble on a| single |
|00000be0| 61 63 63 65 73 73 20 6f | 66 20 61 20 72 65 73 6f |access o|f a reso|
|00000bf0| 75 72 63 65 2c 20 62 75 | 74 20 66 6f 72 20 74 68 |urce, bu|t for th|
|00000c00| 6f 75 73 61 6e 64 73 20 | 6f 66 20 61 63 63 65 73 |ousands |of acces|
|00000c10| 73 65 73 20 74 6f 20 74 | 68 65 20 72 65 73 6f 75 |ses to t|he resou|
|00000c20| 72 63 65 20 66 69 6c 65 | 20 74 68 65 20 74 69 6d |rce file| the tim|
|00000c30| 65 20 73 70 65 6e 74 20 | 74 72 61 76 65 72 73 69 |e spent |traversi|
|00000c40| 6e 67 20 74 68 65 20 6c | 69 6e 65 61 72 20 6c 69 |ng the l|inear li|
|00000c50| 73 74 20 77 69 6c 6c 20 | 69 6d 70 61 63 74 20 74 |st will |impact t|
|00000c60| 68 65 20 6f 76 65 72 61 | 6c 6c 20 73 70 65 65 64 |he overa|ll speed|
|00000c70| 20 6f 66 20 74 68 65 20 | 70 72 6f 67 72 61 6d 2e | of the |program.|
|00000c80| 20 54 68 65 20 75 73 65 | 72 20 77 69 6c 6c 20 6e | The use|r will n|
|00000c90| 6f 74 20 62 65 20 70 6c | 65 61 73 65 64 2e 0d 49 |ot be pl|eased..I|
|00000ca0| 6e 63 72 65 61 73 69 6e | 67 20 74 68 65 20 73 6c |ncreasin|g the sl|
|00000cb0| 6f 77 6e 65 73 73 20 62 | 79 20 68 61 76 69 6e 67 |owness b|y having|
|00000cc0| 20 74 6f 6f 20 6d 61 6e | 79 20 72 65 73 6f 75 72 | too man|y resour|
|00000cd0| 63 65 73 20 61 73 20 77 | 65 6c 6c 20 61 73 20 74 |ces as w|ell as t|
|00000ce0| 6f 6f 20 6d 61 6e 79 20 | 74 79 70 65 73 20 77 69 |oo many |types wi|
|00000cf0| 6c 6c 20 65 6e 63 6f 75 | 72 61 67 65 20 74 68 65 |ll encou|rage the|
|00000d00| 20 75 73 65 72 20 74 6f | 20 66 69 6c 65 20 74 68 | user to| file th|
|00000d10| 65 20 70 72 6f 67 72 61 | 6d 20 69 6e 20 61 20 67 |e progra|m in a g|
|00000d20| 72 6f 75 6e 64 20 62 61 | 73 65 64 20 63 69 72 63 |round ba|sed circ|
|00000d30| 75 6c 61 72 20 73 74 6f | 72 61 67 65 20 66 61 63 |ular sto|rage fac|
|00000d40| 69 6c 69 74 79 2e 0d 41 | 73 20 73 74 61 74 65 64 |ility..A|s stated|
|00000d50| 20 69 6e 20 54 42 20 31 | 38 20 2d 20 4d 61 78 69 | in TB 1|8 - Maxi|
|00000d60| 6d 75 6d 20 4e 75 6d 62 | 65 72 20 6f 66 20 52 65 |mum Numb|er of Re|
|00000d70| 73 6f 75 72 63 65 73 20 | 69 6e 20 61 20 46 69 6c |sources |in a Fil|
|00000d80| 65 2c 20 74 68 65 72 65 | 20 69 73 20 61 20 6c 69 |e, there| is a li|
|00000d90| 6d 69 74 20 6f 66 20 61 | 62 6f 75 74 20 32 37 30 |mit of a|bout 270|
|00000da0| 30 20 72 65 73 6f 75 72 | 63 65 73 20 69 6e 20 61 |0 resour|ces in a|
|00000db0| 20 67 69 76 65 6e 20 66 | 69 6c 65 20 64 75 65 20 | given f|ile due |
|00000dc0| 74 6f 20 74 68 65 20 77 | 61 79 20 74 68 65 20 72 |to the w|ay the r|
|00000dd0| 65 73 6f 75 72 63 65 73 | 20 61 72 65 20 73 74 6f |esources| are sto|
|00000de0| 72 65 64 2e 20 54 68 65 | 20 70 65 72 66 6f 72 6d |red. The| perform|
|00000df0| 61 6e 63 65 20 70 65 6e | 61 6c 74 79 20 77 69 6c |ance pen|alty wil|
|00000e00| 6c 20 61 72 72 69 76 65 | 20 73 6f 6f 6e 65 72 2c |l arrive| sooner,|
|00000e10| 20 61 6e 64 20 74 68 65 | 20 64 69 76 69 64 69 6e | and the| dividin|
|00000e20| 67 20 6c 69 6e 65 20 66 | 6f 72 20 77 68 65 72 65 |g line f|or where|
|00000e30| 20 69 74 20 69 73 20 d2 | 74 6f 6f 20 73 6c 6f 77 | it is .|too slow|
|00000e40| d3 20 69 73 20 61 20 70 | 65 72 73 6f 6e 61 6c 20 |. is a p|ersonal |
|00000e50| 70 72 65 66 65 72 65 6e | 63 65 2e 20 41 73 20 61 |preferen|ce. As a|
|00000e60| 20 72 75 6c 65 20 6f 66 | 20 74 68 75 6d 62 2c 20 | rule of| thumb, |
|00000e70| 69 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 68 |if the p|rogram h|
|00000e80| 61 73 20 74 68 65 20 61 | 62 69 6c 69 74 79 20 74 |as the a|bility t|
|00000e90| 6f 20 73 74 6f 72 65 20 | 6d 6f 72 65 20 74 68 61 |o store |more tha|
|00000ea0| 6e 20 61 62 6f 75 74 20 | 35 30 30 20 72 65 73 6f |n about |500 reso|
|00000eb0| 75 72 63 65 73 20 74 6f | 74 61 6c 20 28 62 6f 74 |urces to|tal (bot|
|00000ec0| 68 20 49 44 73 20 61 6e | 64 20 74 79 70 65 73 29 |h IDs an|d types)|
|00000ed0| 2c 20 74 68 65 6e 20 63 | 6f 6e 73 69 64 65 72 61 |, then c|onsidera|
|00000ee0| 74 69 6f 6e 20 73 68 6f | 75 6c 64 20 62 65 20 67 |tion sho|uld be g|
|00000ef0| 69 76 65 6e 20 74 6f 20 | 75 73 69 6e 67 20 74 68 |iven to |using th|
|00000f00| 65 20 44 61 74 61 20 46 | 6f 72 6b 20 69 6e 73 74 |e Data F|ork inst|
|00000f10| 65 61 64 2e 20 49 6e 20 | 70 61 72 74 69 63 75 6c |ead. In |particul|
|00000f20| 61 72 2c 20 69 66 20 74 | 68 65 20 70 72 6f 67 72 |ar, if t|he progr|
|00000f30| 61 6d 20 61 6c 6c 6f 77 | 73 20 74 68 65 20 75 73 |am allow|s the us|
|00000f40| 65 72 20 74 6f 20 63 72 | 65 61 74 65 20 64 61 74 |er to cr|eate dat|
|00000f50| 61 20 66 69 6c 65 73 2c | 20 64 6f 20 6e 6f 74 20 |a files,| do not |
|00000f60| 75 73 65 20 74 68 65 20 | 52 65 73 6f 75 72 63 65 |use the |Resource|
|00000f70| 20 4d 61 6e 61 67 65 72 | 20 74 6f 20 73 74 6f 72 | Manager| to stor|
|00000f80| 65 20 74 68 65 20 75 73 | 65 72 20 64 61 74 61 2e |e the us|er data.|
|00000f90| 20 54 68 65 20 75 73 65 | 72 73 20 77 69 6c 6c 20 | The use|rs will |
|00000fa0| 61 6c 77 61 79 73 20 6f | 76 65 72 65 78 74 65 6e |always o|verexten|
|00000fb0| 64 20 74 68 65 20 75 73 | 65 20 6f 66 20 61 20 70 |d the us|e of a p|
|00000fc0| 72 6f 67 72 61 6d 2e 20 | 50 6c 61 6e 20 66 6f 72 |rogram. |Plan for|
|00000fd0| 20 69 74 2c 20 61 6e 64 | 20 61 76 6f 69 64 20 6d | it, and| avoid m|
|00000fe0| 61 6b 69 6e 67 20 6f 62 | 76 69 6f 75 73 6c 79 20 |aking ob|viously |
|00000ff0| 62 61 64 20 64 65 63 69 | 73 69 6f 6e 73 2e 20 46 |bad deci|sions. F|
|00001000| 6f 72 20 6c 61 72 67 65 | 20 61 6d 6f 75 6e 74 73 |or large| amounts|
|00001010| 20 6f 66 20 64 61 74 61 | 2c 20 74 68 65 20 46 69 | of data|, the Fi|
|00001020| 6c 65 20 4d 61 6e 61 67 | 65 72 20 69 73 20 74 68 |le Manag|er is th|
|00001030| 65 20 70 6c 61 63 65 20 | 74 6f 20 6c 6f 6f 6b 2e |e place |to look.|
|00001040| 20 49 66 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 | If the |program |
|00001050| 77 61 6e 74 73 20 74 6f | 20 61 6c 6c 6f 77 20 73 |wants to| allow s|
|00001060| 69 6d 75 6c 74 61 6e 65 | 6f 75 73 20 28 6d 75 6c |imultane|ous (mul|
|00001070| 74 69 2d 75 73 65 72 29 | 20 61 63 63 65 73 73 20 |ti-user)| access |
|00001080| 77 69 74 68 20 72 65 61 | 64 20 61 6e 64 20 77 72 |with rea|d and wr|
|00001090| 69 74 65 20 70 72 69 76 | 69 6c 65 67 65 73 20 74 |ite priv|ileges t|
|000010a0| 6f 20 64 61 74 61 20 66 | 69 6c 65 73 2c 20 74 68 |o data f|iles, th|
|000010b0| 65 6e 20 64 6f 20 6e 6f | 74 20 75 73 65 20 74 68 |en do no|t use th|
|000010c0| 65 20 52 65 73 6f 75 72 | 63 65 20 4d 61 6e 61 67 |e Resour|ce Manag|
|000010d0| 65 72 2e 20 20 42 65 63 | 61 75 73 65 20 69 74 20 |er. Bec|ause it |
|000010e0| 63 61 63 68 65 73 20 64 | 61 74 61 2c 20 74 68 65 |caches d|ata, the|
|000010f0| 20 52 65 73 6f 75 72 63 | 65 20 4d 61 6e 61 67 65 | Resourc|e Manage|
|00001100| 72 20 63 61 6e 6e 6f 74 | 20 62 65 20 72 65 6c 69 |r cannot| be reli|
|00001110| 65 64 20 75 70 6f 6e 20 | 61 73 20 61 20 6d 75 6c |ed upon |as a mul|
|00001120| 74 69 2d 75 73 65 72 20 | 64 61 74 61 62 61 73 65 |ti-user |database|
|00001130| 20 d0 20 65 76 65 6e 20 | 66 6f 72 20 73 6d 61 6c | . even |for smal|
|00001140| 6c 20 61 6d 6f 75 6e 74 | 73 20 6f 66 20 64 61 74 |l amount|s of dat|
|00001150| 61 2e 20 54 68 69 73 20 | 69 73 20 62 65 63 61 75 |a. This |is becau|
|00001160| 73 65 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 77 |se there| is no w|
|00001170| 61 79 20 74 6f 20 74 65 | 6c 6c 20 74 68 65 20 52 |ay to te|ll the R|
|00001180| 65 73 6f 75 72 63 65 20 | 4d 61 6e 61 67 65 72 20 |esource |Manager |
|00001190| 69 74 73 20 63 61 63 68 | 65 20 69 73 20 69 6e 76 |its cach|e is inv|
|000011a0| 61 6c 69 64 2e 20 0d 44 | 6f 6e d5 74 20 62 65 20 |alid. .D|on.t be |
|000011b0| 66 6f 6f 6c 65 64 20 62 | 79 20 61 20 63 6f 6e 76 |fooled b|y a conv|
|000011c0| 65 6e 69 65 6e 74 20 69 | 6e 74 65 72 66 61 63 65 |enient i|nterface|
|000011d0| 2e 20 54 68 65 20 52 65 | 73 6f 75 72 63 65 20 4d |. The Re|source M|
|000011e0| 61 6e 61 67 65 72 20 69 | 73 20 6e 6f 74 20 61 20 |anager i|s not a |
|000011f0| 64 61 74 61 62 61 73 65 | 2c 20 6e 6f 72 20 69 73 |database|, nor is|
|00001200| 20 69 74 20 61 20 66 69 | 6c 65 20 73 79 73 74 65 | it a fi|le syste|
|00001210| 6d 2e 0d 57 6f 72 64 73 | 20 74 6f 20 6c 69 76 65 |m..Words| to live|
|00001220| 20 62 79 0d 4c 6f 6f 6b | 69 6e 67 20 61 74 20 74 | by.Look|ing at t|
|00001230| 68 65 20 54 65 78 74 45 | 64 69 74 20 70 61 63 6b |he TextE|dit pack|
|00001240| 61 67 65 20 63 61 6e 20 | 67 69 76 65 20 74 68 65 |age can |give the|
|00001250| 20 69 6d 70 72 65 73 73 | 69 6f 6e 20 74 68 61 74 | impress|ion that|
|00001260| 20 74 68 65 72 65 20 69 | 73 20 61 20 66 75 6c 6c | there i|s a full|
|00001270| 20 66 65 61 74 75 72 65 | 64 20 77 6f 72 64 20 70 | feature|d word p|
|00001280| 72 6f 63 65 73 73 69 6e | 67 20 73 79 73 74 65 6d |rocessin|g system|
|00001290| 20 62 75 69 6c 74 20 69 | 6e 2e 20 54 68 69 73 20 | built i|n. This |
|000012a0| 69 73 20 65 76 65 6e 20 | 6d 6f 72 65 20 74 72 75 |is even |more tru|
|000012b0| 65 20 6e 6f 77 20 74 68 | 61 74 20 54 65 78 74 45 |e now th|at TextE|
|000012c0| 64 69 74 20 68 61 73 20 | 62 65 65 6e 20 65 78 74 |dit has |been ext|
|000012d0| 65 6e 64 65 64 20 74 6f | 20 73 75 70 70 6f 72 74 |ended to| support|
|000012e0| 20 76 61 72 69 6f 75 73 | 20 73 74 79 6c 65 73 20 | various| styles |
|000012f0| 61 6e 64 20 66 6f 6e 74 | 73 2e 20 55 6e 66 6f 72 |and font|s. Unfor|
|00001300| 74 75 6e 61 74 65 6c 79 | 2c 20 61 70 70 65 61 72 |tunately|, appear|
|00001310| 61 6e 63 65 73 20 61 72 | 65 20 64 65 63 65 69 76 |ances ar|e deceiv|
|00001320| 69 6e 67 2c 20 61 6e 64 | 20 54 65 78 74 45 64 69 |ing, and| TextEdi|
|00001330| 74 20 69 73 20 6e 6f 74 | 20 75 70 20 74 6f 20 74 |t is not| up to t|
|00001340| 68 65 20 6a 6f 62 20 6f | 66 20 62 65 69 6e 67 20 |he job o|f being |
|00001350| 61 20 77 6f 72 64 20 70 | 72 6f 63 65 73 73 6f 72 |a word p|rocessor|
|00001360| 2e 20 4c 6f 6f 6b 69 6e | 67 20 74 68 72 6f 75 67 |. Lookin|g throug|
|00001370| 68 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |h the do|cumentat|
|00001380| 69 6f 6e 20 73 68 6f 77 | 73 20 74 68 61 74 20 74 |ion show|s that t|
|00001390| 68 65 72 65 20 69 73 20 | 61 20 33 32 2c 37 36 37 |here is |a 32,767|
|000013a0| 20 63 68 61 72 61 63 74 | 65 72 20 6c 69 6d 69 74 | charact|er limit|
|000013b0| 20 6f 6e 20 74 68 65 20 | 74 65 78 74 20 69 6e 20 | on the |text in |
|000013c0| 61 20 54 65 78 74 45 64 | 69 74 20 72 65 63 6f 72 |a TextEd|it recor|
|000013d0| 64 2e 20 54 68 65 20 74 | 65 4c 65 6e 67 74 68 20 |d. The t|eLength |
|000013e0| 69 73 20 64 65 66 69 6e | 65 64 20 61 73 20 61 6e |is defin|ed as an|
|000013f0| 20 49 6e 74 65 67 65 72 | 2e 20 41 6e 6f 74 68 65 | Integer|. Anothe|
|00001400| 72 20 6d 6f 72 65 20 73 | 75 62 74 6c 65 20 6c 69 |r more s|ubtle li|
|00001410| 6d 69 74 20 69 73 20 74 | 68 65 20 64 72 61 77 69 |mit is t|he drawi|
|00001420| 6e 67 20 6c 69 6d 69 74 | 20 6f 66 20 74 68 65 20 |ng limit| of the |
|00001430| 72 65 63 74 61 6e 67 6c | 65 73 20 73 75 72 72 6f |rectangl|es surro|
|00001440| 75 6e 64 69 6e 67 20 74 | 68 65 20 74 65 78 74 2e |unding t|he text.|
|00001450| 20 54 68 65 20 64 65 73 | 74 52 65 63 74 20 61 6e | The des|tRect an|
|00001460| 64 20 76 69 65 77 52 65 | 63 74 20 62 6f 74 68 20 |d viewRe|ct both |
|00001470| 73 75 72 72 6f 75 6e 64 | 20 74 68 65 20 63 6f 6d |surround| the com|
|00001480| 70 6c 65 74 65 20 54 65 | 78 74 45 64 69 74 20 72 |plete Te|xtEdit r|
|00001490| 65 63 6f 72 64 2e 20 55 | 73 69 6e 67 20 73 6f 6d |ecord. U|sing som|
|000014a0| 65 20 72 61 74 68 65 72 | 20 72 6f 75 67 68 20 61 |e rather| rough a|
|000014b0| 70 70 72 6f 78 69 6d 61 | 74 69 6f 6e 73 2c 20 74 |pproxima|tions, t|
|000014c0| 68 65 72 65 20 69 73 20 | 61 6e 20 75 70 70 65 72 |here is |an upper|
|000014d0| 20 6c 69 6d 69 74 20 6f | 66 20 61 62 6f 75 74 20 | limit o|f about |
|000014e0| 34 30 20 70 61 67 65 73 | 20 6f 66 20 74 65 78 74 |40 pages| of text|
|000014f0| 20 74 68 61 74 20 63 61 | 6e 20 62 65 20 73 75 70 | that ca|n be sup|
|00001500| 70 6f 72 74 65 64 20 69 | 6e 20 74 68 65 20 51 75 |ported i|n the Qu|
|00001510| 69 63 6b 44 72 61 77 20 | 72 65 63 74 61 6e 67 6c |ickDraw |rectangl|
|00001520| 65 2e 20 54 68 69 73 20 | 69 73 20 71 75 69 74 65 |e. This |is quite|
|00001530| 20 61 20 6c 6f 74 20 66 | 6f 72 20 73 6f 6d 65 20 | a lot f|or some |
|00001540| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 2c 20 62 75 |applicat|ions, bu|
|00001550| 74 20 69 73 20 6e 6f 74 | 20 76 65 72 79 20 6d 61 |t is not| very ma|
|00001560| 6e 79 20 77 68 65 6e 20 | 6c 6f 6f 6b 69 6e 67 20 |ny when |looking |
|00001570| 61 74 20 74 68 65 20 6a | 6f 62 20 74 79 70 69 63 |at the j|ob typic|
|00001580| 61 6c 6c 79 20 72 65 71 | 75 69 72 65 64 20 6f 66 |ally req|uired of|
|00001590| 20 61 20 77 6f 72 64 20 | 70 72 6f 63 65 73 73 6f | a word |processo|
|000015a0| 72 2e 20 55 73 65 72 73 | 20 64 6f 20 6e 6f 74 20 |r. Users| do not |
|000015b0| 65 6e 6a 6f 79 20 62 72 | 65 61 6b 69 6e 67 20 74 |enjoy br|eaking t|
|000015c0| 68 65 69 72 20 64 6f 63 | 75 6d 65 6e 74 73 20 69 |heir doc|uments i|
|000015d0| 6e 74 6f 20 6d 75 6c 74 | 69 70 6c 65 20 70 69 65 |nto mult|iple pie|
|000015e0| 63 65 73 2e 20 0d 54 68 | 65 72 65 20 61 72 65 20 |ces. .Th|ere are |
|000015f0| 73 6f 6d 65 20 6f 74 68 | 65 72 20 70 72 6f 67 72 |some oth|er progr|
|00001600| 61 6d 6d 61 74 69 63 20 | 6c 69 6d 69 74 61 74 69 |ammatic |limitati|
|00001610| 6f 6e 73 2c 20 6e 6f 74 | 20 74 68 65 20 6c 65 61 |ons, not| the lea|
|00001620| 73 74 20 6f 66 20 77 68 | 69 63 68 20 69 73 20 70 |st of wh|ich is p|
|00001630| 65 72 66 6f 72 6d 61 6e | 63 65 2e 20 54 65 78 74 |erforman|ce. Text|
|00001640| 45 64 69 74 20 77 69 6c | 6c 20 62 65 63 6f 6d 65 |Edit wil|l become|
|00001650| 20 71 75 69 74 65 20 73 | 6c 75 67 67 69 73 68 20 | quite s|luggish |
|00001660| 77 69 74 68 20 6c 61 72 | 67 65 20 62 6c 6f 63 6b |with lar|ge block|
|00001670| 73 20 6f 66 20 64 61 74 | 61 2e 20 41 66 74 65 72 |s of dat|a. After|
|00001680| 20 32 2c 30 30 30 2d 34 | 2c 30 30 30 20 63 68 61 | 2,000-4|,000 cha|
|00001690| 72 61 63 74 65 72 73 20 | 68 61 76 65 20 62 65 65 |racters |have bee|
|000016a0| 6e 20 73 74 6f 72 65 64 | 20 69 6e 20 61 20 54 65 |n stored| in a Te|
|000016b0| 78 74 45 64 69 74 20 72 | 65 63 6f 72 64 2c 20 74 |xtEdit r|ecord, t|
|000016c0| 68 65 20 70 65 72 66 6f | 72 6d 61 6e 63 65 20 77 |he perfo|rmance w|
|000016d0| 69 6c 6c 20 68 61 76 65 | 20 73 6c 6f 77 65 64 20 |ill have| slowed |
|000016e0| 74 6f 20 61 6e 20 75 6e | 61 63 63 65 70 74 61 62 |to an un|acceptab|
|000016f0| 6c 65 20 6c 65 76 65 6c | 2e 20 49 74 20 69 73 20 |le level|. It is |
|00001700| 6e 6f 74 61 62 6c 65 20 | 74 68 61 74 20 74 68 65 |notable |that the|
|00001710| 20 6c 69 6e 65 53 74 61 | 72 74 73 20 61 72 72 61 | lineSta|rts arra|
|00001720| 79 20 69 73 20 61 20 6c | 69 6e 65 61 72 20 61 72 |y is a l|inear ar|
|00001730| 72 61 79 20 6f 66 20 6f | 66 66 73 65 74 73 20 69 |ray of o|ffsets i|
|00001740| 6e 74 6f 20 74 68 65 20 | 65 64 69 74 20 72 65 63 |nto the |edit rec|
|00001750| 6f 72 64 2e 20 49 66 20 | 74 68 65 20 64 61 74 61 |ord. If |the data|
|00001760| 20 74 6f 77 61 72 64 73 | 20 74 68 65 20 65 6e 64 | towards| the end|
|00001770| 20 6f 66 20 74 68 65 20 | 64 61 74 61 20 72 65 63 | of the |data rec|
|00001780| 6f 72 64 20 28 68 69 67 | 68 20 69 6e 20 74 68 65 |ord (hig|h in the|
|00001790| 20 72 65 63 6f 72 64 29 | 20 63 68 61 6e 67 65 73 | record)| changes|
|000017a0| 2c 20 74 68 65 20 6f 66 | 66 73 65 74 73 20 68 61 |, the of|fsets ha|
|000017b0| 76 65 20 74 6f 20 62 65 | 20 63 68 61 6e 67 65 64 |ve to be| changed|
|000017c0| 2e 20 54 68 69 73 20 63 | 61 6e 20 69 6e 76 6f 6c |. This c|an invol|
|000017d0| 76 65 20 75 70 64 61 74 | 69 6e 67 20 74 68 6f 75 |ve updat|ing thou|
|000017e0| 73 61 6e 64 73 20 6f 66 | 20 49 6e 74 65 67 65 72 |sands of| Integer|
|000017f0| 20 6f 66 66 73 65 74 73 | 20 66 6f 72 20 65 76 65 | offsets| for eve|
|00001800| 72 79 20 63 68 61 72 61 | 63 74 65 72 20 74 79 70 |ry chara|cter typ|
|00001810| 65 64 2e 20 49 66 20 74 | 68 65 20 64 69 66 66 65 |ed. If t|he diffe|
|00001820| 72 65 6e 74 20 66 6f 6e | 74 2c 20 73 69 7a 65 20 |rent fon|t, size |
|00001830| 61 6e 64 20 73 74 79 6c | 65 20 69 6e 66 6f 72 6d |and styl|e inform|
|00001840| 61 74 69 6f 6e 20 69 73 | 20 74 61 63 6b 65 64 20 |ation is| tacked |
|00001850| 6f 6e 20 74 6f 70 20 6f | 66 20 61 6c 6c 20 74 68 |on top o|f all th|
|00001860| 61 74 2c 20 74 68 65 20 | 70 65 72 66 6f 72 6d 61 |at, the |performa|
|00001870| 6e 63 65 20 63 61 6e 20 | 62 65 20 65 78 70 65 63 |nce can |be expec|
|00001880| 74 65 64 20 74 6f 20 73 | 75 66 66 65 72 20 77 69 |ted to s|uffer wi|
|00001890| 74 68 20 6c 61 72 67 65 | 20 62 6c 6f 63 6b 73 20 |th large| blocks |
|000018a0| 6f 66 20 74 65 78 74 2e | 20 4d 61 6b 65 20 6e 6f |of text.| Make no|
|000018b0| 20 6d 69 73 74 61 6b 65 | 20 61 62 6f 75 74 20 69 | mistake| about i|
|000018c0| 74 2c 20 61 20 66 75 6c | 6c 20 4d 61 63 69 6e 74 |t, a ful|l Macint|
|000018d0| 6f 73 68 20 73 74 79 6c | 65 20 77 6f 72 64 20 70 |osh styl|e word p|
|000018e0| 72 6f 63 65 73 73 6f 72 | 20 69 73 20 6e 6f 74 20 |rocessor| is not |
|000018f0| 61 6e 20 65 61 73 79 20 | 74 68 69 6e 67 20 74 6f |an easy |thing to|
|00001900| 20 77 72 69 74 65 2e 20 | 54 65 78 74 45 64 69 74 | write. |TextEdit|
|00001910| 20 77 61 73 20 6e 6f 74 | 20 64 65 73 69 67 6e 65 | was not| designe|
|00001920| 64 20 74 6f 20 68 61 6e | 64 6c 65 20 6c 61 72 67 |d to han|dle larg|
|00001930| 65 20 64 6f 63 75 6d 65 | 6e 74 73 2e 20 49 74 20 |e docume|nts. It |
|00001940| 77 61 73 20 64 65 73 69 | 67 6e 65 64 20 61 73 20 |was desi|gned as |
|00001950| 61 20 73 69 6d 70 6c 65 | 20 66 69 65 6c 64 20 65 |a simple| field e|
|00001960| 64 69 74 6f 72 20 66 6f | 72 20 74 68 65 20 44 69 |ditor fo|r the Di|
|00001970| 61 6c 6f 67 20 4d 61 6e | 61 67 65 72 2c 20 61 6e |alog Man|ager, an|
|00001980| 64 20 65 78 74 65 6e 64 | 65 64 20 66 72 6f 6d 20 |d extend|ed from |
|00001990| 74 68 65 72 65 2e 20 49 | 74 20 77 61 73 20 6e 65 |there. I|t was ne|
|000019a0| 76 65 72 20 69 6e 74 65 | 6e 64 65 64 20 74 6f 20 |ver inte|nded to |
|000019b0| 68 61 6e 64 6c 65 20 74 | 68 65 20 6c 61 72 67 65 |handle t|he large|
|000019c0| 20 6a 6f 62 73 20 65 78 | 70 65 63 74 65 64 20 6f | jobs ex|pected o|
|000019d0| 66 20 61 20 77 6f 72 64 | 20 70 72 6f 63 65 73 73 |f a word| process|
|000019e0| 6f 72 2e 0d 49 6e 20 6f | 72 64 65 72 20 74 6f 20 |or..In o|rder to |
|000019f0| 70 65 72 66 6f 72 6d 20 | 74 68 65 20 6f 70 65 72 |perform |the oper|
|00001a00| 61 74 69 6f 6e 73 20 72 | 65 71 75 69 72 65 64 20 |ations r|equired |
|00001a10| 6f 66 20 61 20 77 6f 72 | 64 20 70 72 6f 63 65 73 |of a wor|d proces|
|00001a20| 73 6f 72 20 69 74 20 69 | 73 20 6e 65 63 65 73 73 |sor it i|s necess|
|00001a30| 61 72 79 20 74 6f 20 75 | 73 65 20 51 75 69 63 6b |ary to u|se Quick|
|00001a40| 44 72 61 77 20 65 78 74 | 65 6e 73 69 76 65 6c 79 |Draw ext|ensively|
|00001a50| 2e 20 54 68 65 20 65 78 | 70 65 63 74 65 64 20 4d |. The ex|pected M|
|00001a60| 61 63 69 6e 74 6f 73 68 | 20 73 65 6c 65 63 74 69 |acintosh| selecti|
|00001a70| 6f 6e 20 61 70 70 72 6f | 61 63 68 20 77 69 74 68 |on appro|ach with|
|00001a80| 20 61 75 74 6f 73 63 72 | 6f 6c 6c 69 6e 67 2c 20 | autoscr|olling, |
|00001a90| 74 79 70 69 6e 67 20 6f | 76 65 72 20 73 65 6c 65 |typing o|ver sele|
|00001aa0| 63 74 65 64 20 74 65 78 | 74 2c 20 63 75 74 2f 63 |cted tex|t, cut/c|
|00001ab0| 6f 70 79 2f 70 61 73 74 | 65 2c 20 61 6e 64 20 73 |opy/past|e, and s|
|00001ac0| 6f 20 6f 6e 20 61 72 65 | 20 62 65 73 74 20 69 6d |o on are| best im|
|00001ad0| 70 6c 65 6d 65 6e 74 65 | 64 20 75 73 69 6e 67 20 |plemente|d using |
|00001ae0| 51 75 69 63 6b 44 72 61 | 77 20 64 69 72 65 63 74 |QuickDra|w direct|
|00001af0| 6c 79 2e 20 48 6f 77 20 | 74 68 65 20 74 65 78 74 |ly. How |the text|
|00001b00| 20 69 73 20 73 74 6f 72 | 65 64 20 69 6e 74 65 72 | is stor|ed inter|
|00001b10| 6e 61 6c 6c 79 20 69 73 | 20 74 68 65 20 70 72 69 |nally is| the pri|
|00001b20| 6d 61 72 79 20 64 65 74 | 65 72 6d 69 6e 69 6e 67 |mary det|ermining|
|00001b30| 20 66 61 63 74 6f 72 20 | 6f 6e 20 68 6f 77 20 74 | factor |on how t|
|00001b40| 68 65 20 77 6f 72 64 20 | 70 72 6f 63 65 73 73 6f |he word |processo|
|00001b50| 72 20 77 69 6c 6c 20 70 | 65 72 66 6f 72 6d 2e 0d |r will p|erform..|
|00001b60| 44 6f 6e d5 74 20 62 65 | 20 66 6f 6f 6c 65 64 20 |Don.t be| fooled |
|00001b70| 62 79 20 68 6f 77 20 65 | 61 73 79 20 69 74 20 69 |by how e|asy it i|
|00001b80| 73 20 74 6f 20 69 6d 70 | 6c 65 6d 65 6e 74 20 73 |s to imp|lement s|
|00001b90| 69 6d 70 6c 65 20 65 64 | 69 74 69 6e 67 20 69 6e |imple ed|iting in|
|00001ba0| 20 61 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2e | an appl|ication.|
|00001bb0| 20 54 65 78 74 45 64 69 | 74 20 69 73 20 6e 6f 74 | TextEdi|t is not|
|00001bc0| 20 61 20 77 6f 72 64 20 | 70 72 6f 63 65 73 73 6f | a word |processo|
|00001bd0| 72 2e 0d 43 68 65 63 6b | 69 6e 67 20 6c 69 73 74 |r..Check|ing list|
|00001be0| 73 20 74 77 69 63 65 0d | 54 68 65 20 4c 69 73 74 |s twice.|The List|
|00001bf0| 20 4d 61 6e 61 67 65 72 | 20 61 70 70 65 61 72 73 | Manager| appears|
|00001c00| 20 74 6f 20 62 65 20 61 | 20 63 65 6c 6c 20 6f 72 | to be a| cell or|
|00001c10| 69 65 6e 74 65 64 20 64 | 69 73 70 6c 61 79 20 74 |iented d|isplay t|
|00001c20| 6f 6f 6c 2c 20 61 6c 6c | 6f 77 69 6e 67 20 74 68 |ool, all|owing th|
|00001c30| 65 20 65 61 73 79 20 63 | 72 65 61 74 69 6f 6e 20 |e easy c|reation |
|00001c40| 6f 66 20 61 20 73 70 72 | 65 61 64 73 68 65 65 74 |of a spr|eadsheet|
|00001c50| 20 69 6e 74 65 72 66 61 | 63 65 20 75 73 69 6e 67 | interfa|ce using|
|00001c60| 20 73 79 73 74 65 6d 20 | 63 61 6c 6c 73 2e 20 54 | system |calls. T|
|00001c70| 68 65 20 72 69 63 68 20 | 69 6e 74 65 72 66 61 63 |he rich |interfac|
|00001c80| 65 20 74 6f 20 74 68 65 | 20 6d 61 6e 61 67 65 72 |e to the| manager|
|00001c90| 20 6d 61 6b 65 73 20 69 | 74 20 65 61 73 79 20 74 | makes i|t easy t|
|00001ca0| 6f 20 68 61 6e 64 6c 65 | 20 61 72 62 69 74 72 61 |o handle| arbitra|
|00001cb0| 72 79 20 6c 69 73 74 73 | 20 6f 66 20 64 61 74 61 |ry lists| of data|
|00001cc0| 2e 20 4f 72 20 64 6f 65 | 73 20 69 74 3f 20 41 6c |. Or doe|s it? Al|
|00001cd0| 74 68 6f 75 67 68 20 74 | 68 65 20 4c 69 73 74 20 |though t|he List |
|00001ce0| 4d 61 6e 61 67 65 72 20 | 69 73 20 76 65 72 79 20 |Manager |is very |
|00001cf0| 66 6c 65 78 69 62 6c 65 | 2c 20 65 61 73 79 20 74 |flexible|, easy t|
|00001d00| 6f 20 75 73 65 2c 20 61 | 6e 64 20 67 65 6e 65 72 |o use, a|nd gener|
|00001d10| 61 6c 20 65 6e 6f 75 67 | 68 20 74 6f 20 68 61 6e |al enoug|h to han|
|00001d20| 64 6c 65 20 67 72 61 70 | 68 69 63 20 65 6c 65 6d |dle grap|hic elem|
|00001d30| 65 6e 74 73 2c 20 69 74 | 73 20 70 65 72 66 6f 72 |ents, it|s perfor|
|00001d40| 6d 61 6e 63 65 20 62 65 | 63 6f 6d 65 73 20 75 6e |mance be|comes un|
|00001d50| 61 63 63 65 70 74 61 62 | 6c 65 20 77 69 74 68 20 |acceptab|le with |
|00001d60| 72 65 6c 61 74 69 76 65 | 6c 79 20 6d 6f 64 65 73 |relative|ly modes|
|00001d70| 74 20 61 6d 6f 75 6e 74 | 73 20 6f 66 20 64 61 74 |t amount|s of dat|
|00001d80| 61 2e 20 41 20 6f 6e 65 | 2d 64 69 6d 65 6e 73 69 |a. A one|-dimensi|
|00001d90| 6f 6e 61 6c 20 6c 69 73 | 74 20 28 6c 69 6b 65 20 |onal lis|t (like |
|00001da0| 74 68 65 20 66 69 6c 65 | 73 20 6c 69 73 74 20 69 |the file|s list i|
|00001db0| 6e 20 53 74 64 46 69 6c | 65 29 20 63 61 6e 20 62 |n StdFil|e) can b|
|00001dc0| 65 20 64 6f 6e 65 20 76 | 65 72 79 20 77 65 6c 6c |e done v|ery well|
|00001dd0| 20 75 73 69 6e 67 20 74 | 68 65 20 4c 69 73 74 20 | using t|he List |
|00001de0| 4d 61 6e 61 67 65 72 2c | 20 62 75 74 20 77 69 74 |Manager,| but wit|
|00001df0| 68 20 73 65 76 65 72 61 | 6c 20 74 68 6f 75 73 61 |h severa|l thousa|
|00001e00| 6e 64 20 69 74 65 6d 73 | 20 69 6e 20 74 68 65 20 |nd items| in the |
|00001e10| 6c 69 73 74 2c 20 74 68 | 65 20 70 65 72 66 6f 72 |list, th|e perfor|
|00001e20| 6d 61 6e 63 65 20 6d 61 | 79 20 6e 6f 74 20 62 65 |mance ma|y not be|
|00001e30| 20 73 75 66 66 69 63 69 | 65 6e 74 2e 20 54 68 69 | suffici|ent. Thi|
|00001e40| 73 20 72 61 72 65 6c 79 | 20 68 61 70 70 65 6e 73 |s rarely| happens|
|00001e50| 20 69 6e 20 53 74 64 46 | 69 6c 65 20 6f 66 20 63 | in StdF|ile of c|
|00001e60| 6f 75 72 73 65 2c 20 61 | 6e 64 20 53 74 64 46 69 |ourse, a|nd StdFi|
|00001e70| 6c 65 20 77 61 73 20 74 | 68 65 20 66 61 74 68 65 |le was t|he fathe|
|00001e80| 72 20 6f 66 20 74 68 65 | 20 4c 69 73 74 20 4d 61 |r of the| List Ma|
|00001e90| 6e 61 67 65 72 2e 20 48 | 65 72 65 20 61 67 61 69 |nager. H|ere agai|
|00001ea0| 6e 2c 20 74 68 65 20 74 | 6f 6f 6c 20 77 61 73 20 |n, the t|ool was |
|00001eb0| 64 65 73 69 67 6e 65 64 | 20 77 69 74 68 20 61 20 |designed| with a |
|00001ec0| 73 70 65 63 69 66 69 63 | 20 63 6f 6e 63 65 70 74 |specific| concept|
|00001ed0| 20 69 6e 20 6d 69 6e 64 | 2c 20 6e 6f 74 20 74 6f | in mind|, not to|
|00001ee0| 20 62 65 20 74 68 65 20 | 75 6c 74 69 6d 61 74 65 | be the |ultimate|
|00001ef0| 20 74 6f 6f 6c 20 66 6f | 72 20 68 61 6e 64 6c 69 | tool fo|r handli|
|00001f00| 6e 67 20 61 6e 79 20 70 | 6f 73 73 69 62 6c 65 20 |ng any p|ossible |
|00001f10| 61 72 62 69 74 72 61 72 | 79 20 64 61 74 61 2e 20 |arbitrar|y data. |
|00001f20| 41 20 74 77 6f 2d 64 69 | 6d 65 6e 73 69 6f 6e 61 |A two-di|mensiona|
|00001f30| 6c 20 6c 69 73 74 20 6f | 66 20 64 61 74 61 20 77 |l list o|f data w|
|00001f40| 69 6c 6c 20 62 65 63 6f | 6d 65 20 74 6f 6f 20 73 |ill beco|me too s|
|00001f50| 6c 6f 77 20 74 6f 20 75 | 73 65 20 77 69 74 68 20 |low to u|se with |
|00001f60| 61 6e 20 61 72 72 61 79 | 20 61 73 20 73 6d 61 6c |an array| as smal|
|00001f70| 6c 20 61 73 20 31 30 78 | 31 30 30 2e 20 54 68 69 |l as 10x|100. Thi|
|00001f80| 73 20 63 61 6e 20 68 61 | 72 64 6c 79 20 62 65 20 |s can ha|rdly be |
|00001f90| 65 78 70 65 63 74 65 64 | 20 74 6f 20 73 61 74 69 |expected| to sati|
|00001fa0| 73 66 79 20 74 68 65 20 | 75 73 65 72 20 6f 66 20 |sfy the |user of |
|00001fb0| 61 20 73 70 72 65 61 64 | 73 68 65 65 74 2c 20 73 |a spread|sheet, s|
|00001fc0| 69 6e 63 65 20 6f 6e 65 | 20 d2 70 6f 77 65 72 d3 |ince one| .power.|
|00001fd0| 20 63 72 69 74 65 72 69 | 61 20 69 73 20 61 6c 77 | criteri|a is alw|
|00001fe0| 61 79 73 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ays the |number o|
|00001ff0| 66 20 63 65 6c 6c 73 20 | 61 76 61 69 6c 61 62 6c |f cells |availabl|
|00002000| 65 2e 20 0d 57 68 79 20 | 73 6f 20 73 6c 6f 77 3f |e. .Why |so slow?|
|00002010| 20 41 73 20 61 62 6f 76 | 65 2c 20 65 78 61 6d 69 | As abov|e, exami|
|00002020| 6e 69 6e 67 20 74 68 65 | 20 64 61 74 61 20 73 74 |ning the| data st|
|00002030| 72 75 63 74 75 72 65 73 | 20 75 73 65 64 20 62 79 |ructures| used by|
|00002040| 20 74 68 65 20 4c 69 73 | 74 20 4d 61 6e 61 67 65 | the Lis|t Manage|
|00002050| 72 20 63 61 6e 20 74 65 | 6c 6c 20 61 20 6c 6f 74 |r can te|ll a lot|
|00002060| 20 61 62 6f 75 74 20 74 | 68 65 20 65 78 70 65 63 | about t|he expec|
|00002070| 74 65 64 20 70 65 72 66 | 6f 72 6d 61 6e 63 65 20 |ted perf|ormance |
|00002080| 61 6e 64 20 6c 69 6d 69 | 74 61 74 69 6f 6e 73 2e |and limi|tations.|
|00002090| 20 4e 6f 74 61 62 6c 79 | 20 74 68 65 20 63 65 6c | Notably| the cel|
|000020a0| 6c 41 72 72 61 79 20 75 | 73 65 64 20 74 6f 20 6f |lArray u|sed to o|
|000020b0| 66 66 73 65 74 20 74 6f | 20 65 61 63 68 20 63 65 |ffset to| each ce|
|000020c0| 6c 6c d5 73 20 64 61 74 | 61 20 69 73 20 61 6e 20 |ll.s dat|a is an |
|000020d0| 6f 6c 64 20 66 72 69 65 | 6e 64 2c 20 61 20 6c 69 |old frie|nd, a li|
|000020e0| 6e 65 61 72 20 61 72 72 | 61 79 20 6f 66 20 49 6e |near arr|ay of In|
|000020f0| 74 65 67 65 72 20 6f 66 | 66 73 65 74 73 2e 20 49 |teger of|fsets. I|
|00002100| 74 20 73 68 6f 75 6c 64 | 20 63 6f 6d 65 20 61 73 |t should| come as|
|00002110| 20 6e 6f 20 73 75 72 70 | 72 69 73 65 20 74 68 61 | no surp|rise tha|
|00002120| 74 20 69 6e 73 65 72 74 | 69 6e 67 20 6f 72 20 64 |t insert|ing or d|
|00002130| 65 6c 65 74 69 6e 67 20 | 64 61 74 61 20 66 72 6f |eleting |data fro|
|00002140| 6d 20 74 68 65 20 6d 69 | 64 64 6c 65 20 6f 66 20 |m the mi|ddle of |
|00002150| 74 68 69 73 20 61 72 72 | 61 79 20 69 73 20 73 6c |this arr|ay is sl|
|00002160| 6f 77 2e 20 49 6e 20 6f | 72 64 65 72 20 74 6f 20 |ow. In o|rder to |
|00002170| 64 6f 20 74 68 6f 73 65 | 20 66 75 6e 63 74 69 6f |do those| functio|
|00002180| 6e 73 20 74 68 65 20 4c | 69 73 74 20 4d 61 6e 61 |ns the L|ist Mana|
|00002190| 67 65 72 20 68 61 73 20 | 74 6f 20 75 70 64 61 74 |ger has |to updat|
|000021a0| 65 20 74 68 65 20 49 6e | 74 65 67 65 72 20 6f 66 |e the In|teger of|
|000021b0| 66 73 65 74 73 20 69 6e | 20 74 68 65 20 61 72 72 |fsets in| the arr|
|000021c0| 61 79 20 65 61 63 68 20 | 74 69 6d 65 2e 20 49 74 |ay each |time. It|
|000021d0| 20 68 61 73 20 74 6f 20 | 73 74 65 70 20 74 68 72 | has to |step thr|
|000021e0| 6f 75 67 68 20 65 61 63 | 68 20 65 6c 65 6d 65 6e |ough eac|h elemen|
|000021f0| 74 20 6f 6e 20 74 68 65 | 20 6c 69 6e 65 61 72 20 |t on the| linear |
|00002200| 61 72 72 61 79 20 6f 66 | 20 6f 66 66 73 65 74 73 |array of| offsets|
|00002210| 20 77 68 69 63 68 20 77 | 69 6c 6c 20 74 61 6b 65 | which w|ill take|
|00002220| 20 73 6f 6d 65 20 74 69 | 6d 65 20 6f 6e 20 73 65 | some ti|me on se|
|00002230| 76 65 72 61 6c 20 74 68 | 6f 75 73 61 6e 64 20 65 |veral th|ousand e|
|00002240| 6c 65 6d 65 6e 74 73 2e | 0d 54 68 65 20 6d 61 78 |lements.|.The max|
|00002250| 49 6e 64 65 78 20 66 69 | 65 6c 64 20 6f 66 20 74 |Index fi|eld of t|
|00002260| 68 65 20 4c 69 73 74 52 | 65 63 20 69 73 20 61 6c |he ListR|ec is al|
|00002270| 73 6f 20 6e 6f 74 61 62 | 6c 65 20 73 69 6e 63 65 |so notab|le since|
|00002280| 20 69 74 20 69 73 20 61 | 6e 20 49 6e 74 65 67 65 | it is a|n Intege|
|00002290| 72 20 61 73 20 77 65 6c | 6c 2e 20 54 68 65 20 6c |r as wel|l. The l|
|000022a0| 69 73 74 73 20 6f 66 20 | 64 61 74 61 20 63 61 6e |ists of |data can|
|000022b0| 20 62 65 20 6e 6f 20 6d | 6f 72 65 20 74 68 61 6e | be no m|ore than|
|000022c0| 20 33 32 4b 20 62 79 74 | 65 73 20 69 6e 20 73 69 | 32K byt|es in si|
|000022d0| 7a 65 2c 20 77 68 69 63 | 68 20 63 6f 75 6c 64 20 |ze, whic|h could |
|000022e0| 62 65 20 73 6f 6d 65 77 | 68 61 74 20 6c 69 6d 69 |be somew|hat limi|
|000022f0| 74 69 6e 67 20 74 6f 20 | 61 20 75 73 65 72 2e 0d |ting to |a user..|
|00002300| 49 6e 20 61 64 64 69 74 | 69 6f 6e 2c 20 74 68 65 |In addit|ion, the|
|00002310| 20 4c 69 73 74 20 4d 61 | 6e 61 67 65 72 20 69 73 | List Ma|nager is|
|00002320| 20 76 65 72 79 20 67 65 | 6e 65 72 61 6c 20 70 75 | very ge|neral pu|
|00002330| 72 70 6f 73 65 2c 20 6d | 61 6b 69 6e 67 20 69 74 |rpose, m|aking it|
|00002340| 20 6e 65 63 65 73 73 61 | 72 79 20 66 6f 72 20 69 | necessa|ry for i|
|00002350| 74 20 74 6f 20 70 72 6f | 74 65 63 74 20 69 74 73 |t to pro|tect its|
|00002360| 65 6c 66 20 66 72 6f 6d | 20 62 61 64 20 64 61 74 |elf from| bad dat|
|00002370| 61 20 77 68 65 6e 65 76 | 65 72 20 70 6f 73 73 69 |a whenev|er possi|
|00002380| 62 6c 65 2e 20 49 74 20 | 6e 65 65 64 73 20 74 6f |ble. It |needs to|
|00002390| 20 63 68 65 63 6b 20 74 | 68 65 20 62 6f 75 6e 64 | check t|he bound|
|000023a0| 73 20 6f 66 20 61 6e 79 | 20 72 65 63 74 61 6e 67 |s of any| rectang|
|000023b0| 6c 65 73 20 69 74 20 75 | 73 65 73 20 66 6f 72 20 |les it u|ses for |
|000023c0| 65 78 61 6d 70 6c 65 2e | 20 49 74 20 74 72 69 65 |example.| It trie|
|000023d0| 73 20 74 6f 20 6d 69 6e | 69 6d 69 7a 65 20 64 72 |s to min|imize dr|
|000023e0| 61 77 69 6e 67 20 6f 75 | 74 20 6f 66 20 62 6f 75 |awing ou|t of bou|
|000023f0| 6e 64 73 2c 20 73 6f 20 | 69 74 20 63 68 65 63 6b |nds, so |it check|
|00002400| 73 20 65 61 63 68 20 63 | 65 6c 6c 20 61 73 20 69 |s each c|ell as i|
|00002410| 74 20 69 73 20 64 72 61 | 77 6e 20 74 6f 20 62 65 |t is dra|wn to be|
|00002420| 20 73 75 72 65 20 74 68 | 61 74 20 69 74 20 69 73 | sure th|at it is|
|00002430| 20 6f 6e 20 73 63 72 65 | 65 6e 2e 20 45 78 74 72 | on scre|en. Extr|
|00002440| 61 20 76 61 6c 69 64 69 | 74 79 20 63 68 65 63 6b |a validi|ty check|
|00002450| 73 20 74 61 6b 65 20 73 | 6f 6d 65 20 73 6d 61 6c |s take s|ome smal|
|00002460| 6c 2c 20 62 75 74 20 66 | 69 6e 69 74 65 2c 20 74 |l, but f|inite, t|
|00002470| 69 6d 65 2e 20 41 73 20 | 74 68 65 20 6e 75 6d 62 |ime. As |the numb|
|00002480| 65 72 20 6f 66 20 65 6c | 65 6d 65 6e 74 73 20 67 |er of el|ements g|
|00002490| 72 6f 77 73 2c 20 74 68 | 65 20 74 69 6d 65 20 61 |rows, th|e time a|
|000024a0| 64 64 73 20 75 70 20 75 | 6e 74 69 6c 20 69 74 20 |dds up u|ntil it |
|000024b0| 62 65 63 6f 6d 65 73 20 | 61 20 70 65 72 66 6f 72 |becomes |a perfor|
|000024c0| 6d 61 6e 63 65 20 70 72 | 6f 62 6c 65 6d 2e 20 41 |mance pr|oblem. A|
|000024d0| 6e 6f 74 68 65 72 20 6c | 69 6d 69 74 61 74 69 6f |nother l|imitatio|
|000024e0| 6e 20 62 72 6f 75 67 68 | 74 20 6f 75 74 20 62 79 |n brough|t out by|
|000024f0| 20 74 68 65 20 64 61 74 | 61 20 73 74 72 75 63 74 | the dat|a struct|
|00002500| 75 72 65 20 69 73 20 74 | 68 65 20 6c 69 73 74 44 |ure is t|he listD|
|00002510| 65 66 50 72 6f 63 2c 20 | 74 68 65 20 6c 69 73 74 |efProc, |the list|
|00002520| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 70 72 6f 63 | definit|ion proc|
|00002530| 65 64 75 72 65 2e 20 53 | 69 6e 63 65 20 74 68 65 |edure. S|ince the|
|00002540| 20 4c 69 73 74 20 4d 61 | 6e 61 67 65 72 20 69 73 | List Ma|nager is|
|00002550| 20 64 65 73 69 67 6e 65 | 64 20 74 6f 20 62 65 20 | designe|d to be |
|00002560| 61 73 20 67 65 6e 65 72 | 61 6c 20 70 75 72 70 6f |as gener|al purpo|
|00002570| 73 65 20 61 73 20 70 6f | 73 73 69 62 6c 65 2c 20 |se as po|ssible, |
|00002580| 69 74 20 77 61 73 20 6e | 65 63 65 73 73 61 72 79 |it was n|ecessary|
|00002590| 20 74 6f 20 61 64 64 20 | 74 68 65 20 61 62 69 6c | to add |the abil|
|000025a0| 69 74 79 20 74 6f 20 70 | 6c 75 67 20 69 6e 20 61 |ity to p|lug in a|
|000025b0| 20 6e 65 77 20 64 65 66 | 70 72 6f 63 2e 20 54 68 | new def|proc. Th|
|000025c0| 69 73 20 68 61 73 20 72 | 61 6d 69 66 69 63 61 74 |is has r|amificat|
|000025d0| 69 6f 6e 73 20 66 6f 72 | 20 73 70 65 65 64 2c 20 |ions for| speed, |
|000025e0| 68 6f 77 65 76 65 72 2c | 20 73 69 6e 63 65 20 61 |however,| since a|
|000025f0| 6c 6c 20 64 72 61 77 69 | 6e 67 20 68 61 73 20 74 |ll drawi|ng has t|
|00002600| 6f 20 67 6f 20 74 68 72 | 6f 75 67 68 20 74 68 65 |o go thr|ough the|
|00002610| 20 62 6f 74 74 6c 65 6e | 65 63 6b 20 6f 66 20 74 | bottlen|eck of t|
|00002620| 68 65 20 64 65 66 70 72 | 6f 63 2e 20 49 74 20 77 |he defpr|oc. It w|
|00002630| 6f 6e d5 74 20 63 6f 73 | 74 20 6d 75 63 68 20 65 |on.t cos|t much e|
|00002640| 61 63 68 20 74 69 6d 65 | 2c 20 62 75 74 20 69 74 |ach time|, but it|
|00002650| 20 77 69 6c 6c 20 61 64 | 64 20 75 70 20 6f 76 65 | will ad|d up ove|
|00002660| 72 20 61 20 6c 61 72 67 | 65 20 6e 75 6d 62 65 72 |r a larg|e number|
|00002670| 20 6f 66 20 63 65 6c 6c | 73 2e 0d 49 6e 20 6f 72 | of cell|s..In or|
|00002680| 64 65 72 20 74 6f 20 67 | 65 74 20 68 69 67 68 20 |der to g|et high |
|00002690| 70 65 72 66 6f 72 6d 61 | 6e 63 65 20 6f 75 74 20 |performa|nce out |
|000026a0| 6f 66 20 74 68 69 73 20 | 74 79 70 65 20 6f 66 20 |of this |type of |
|000026b0| 64 69 73 70 6c 61 79 2c | 20 69 74 20 69 73 20 67 |display,| it is g|
|000026c0| 65 6e 65 72 61 6c 6c 79 | 20 6e 65 63 65 73 73 61 |enerally| necessa|
|000026d0| 72 79 20 74 6f 20 68 61 | 76 65 20 61 73 20 6d 75 |ry to ha|ve as mu|
|000026e0| 63 68 20 70 72 65 63 61 | 6c 63 75 6c 61 74 65 64 |ch preca|lculated|
|000026f0| 20 61 73 20 70 6f 73 73 | 69 62 6c 65 2e 20 54 68 | as poss|ible. Th|
|00002700| 69 73 20 75 73 75 61 6c | 6c 79 20 6d 65 61 6e 73 |is usual|ly means|
|00002710| 20 68 61 76 69 6e 67 20 | 64 61 74 61 20 73 74 72 | having |data str|
|00002720| 75 63 74 75 72 65 73 20 | 77 68 69 63 68 20 6d 61 |uctures |which ma|
|00002730| 69 6e 74 61 69 6e 20 74 | 68 65 6d 73 65 6c 76 65 |intain t|hemselve|
|00002740| 73 20 61 73 20 6d 75 63 | 68 20 61 73 20 70 6f 73 |s as muc|h as pos|
|00002750| 73 69 62 6c 65 2c 20 61 | 6e 64 20 77 68 69 63 68 |sible, a|nd which|
|00002760| 20 64 6f 20 6e 6f 74 20 | 72 65 71 75 69 72 65 20 | do not |require |
|00002770| 63 68 61 6e 67 69 6e 67 | 20 61 6e 79 74 68 69 6e |changing| anythin|
|00002780| 67 20 6f 75 74 73 69 64 | 65 20 6f 66 20 74 68 65 |g outsid|e of the|
|00002790| 69 72 20 73 69 6e 67 6c | 65 20 63 65 6c 6c 2c 20 |ir singl|e cell, |
|000027a0| 74 68 75 73 20 61 76 6f | 69 64 69 6e 67 20 69 6d |thus avo|iding im|
|000027b0| 70 61 63 74 69 6e 67 20 | 74 68 65 20 65 6e 74 69 |pacting |the enti|
|000027c0| 72 65 20 64 69 73 70 6c | 61 79 2e 20 4c 69 6e 65 |re displ|ay. Line|
|000027d0| 61 72 20 61 72 72 61 79 | 73 20 64 6f 6e d5 74 20 |ar array|s don.t |
|000027e0| 63 6f 6d 65 20 75 6e 64 | 65 72 20 74 68 69 73 20 |come und|er this |
|000027f0| 63 61 74 65 67 6f 72 79 | 2c 20 73 69 6e 63 65 20 |category|, since |
|00002800| 61 6e 79 20 63 68 61 6e | 67 65 20 69 6d 70 61 63 |any chan|ge impac|
|00002810| 74 73 20 61 6c 6c 20 74 | 68 65 20 6f 74 68 65 72 |ts all t|he other|
|00002820| 20 63 65 6c 6c 20 64 61 | 74 61 20 69 6e 20 74 68 | cell da|ta in th|
|00002830| 65 20 6c 69 73 74 2e 20 | 54 6f 20 63 72 65 61 74 |e list. |To creat|
|00002840| 65 20 61 20 68 69 67 68 | 20 70 65 72 66 6f 72 6d |e a high| perform|
|00002850| 61 6e 63 65 20 73 70 72 | 65 61 64 73 68 65 65 74 |ance spr|eadsheet|
|00002860| 20 69 74 20 69 73 20 75 | 73 75 61 6c 6c 79 20 6e | it is u|sually n|
|00002870| 65 63 65 73 73 61 72 79 | 20 74 6f 20 67 6f 20 74 |ecessary| to go t|
|00002880| 6f 20 74 68 65 20 51 75 | 69 63 6b 44 72 61 77 20 |o the Qu|ickDraw |
|00002890| 6c 65 76 65 6c 20 69 6e | 73 69 64 65 20 6f 66 20 |level in|side of |
|000028a0| 61 20 73 74 61 6e 64 61 | 72 64 20 77 69 6e 64 6f |a standa|rd windo|
|000028b0| 77 2e 20 49 74 20 69 73 | 20 6e 6f 74 20 74 79 70 |w. It is| not typ|
|000028c0| 69 63 61 6c 6c 79 20 6e | 65 63 65 73 73 61 72 79 |ically n|ecessary|
|000028d0| 20 74 6f 20 62 65 20 66 | 75 6c 6c 79 20 67 65 6e | to be f|ully gen|
|000028e0| 65 72 61 6c 20 66 6f 72 | 20 61 20 73 70 65 63 69 |eral for| a speci|
|000028f0| 66 69 63 20 74 79 70 65 | 20 6f 66 20 64 61 74 61 |fic type| of data|
|00002900| 2c 20 73 6f 20 74 68 65 | 20 70 65 72 66 6f 72 6d |, so the| perform|
|00002910| 61 6e 63 65 20 63 61 6e | 20 62 65 20 69 6d 70 72 |ance can| be impr|
|00002920| 6f 76 65 64 20 6d 65 72 | 65 6c 79 20 62 79 20 6b |oved mer|ely by k|
|00002930| 6e 6f 77 69 6e 67 20 74 | 68 65 20 74 79 70 65 20 |nowing t|he type |
|00002940| 6f 66 20 64 61 74 61 20 | 65 78 70 65 63 74 65 64 |of data |expected|
|00002950| 2e 20 54 6f 20 68 61 6e | 64 6c 65 20 6c 61 72 67 |. To han|dle larg|
|00002960| 65 20 6c 69 73 74 73 20 | 6f 66 20 64 61 74 61 2c |e lists |of data,|
|00002970| 20 74 68 65 20 64 61 74 | 61 20 73 68 6f 75 6c 64 | the dat|a should|
|00002980| 20 62 65 20 73 74 6f 72 | 65 64 20 69 6e 20 70 6f | be stor|ed in po|
|00002990| 77 65 72 66 75 6c 20 64 | 61 74 61 20 73 74 72 75 |werful d|ata stru|
|000029a0| 63 74 75 72 65 73 2c 20 | 61 6e 64 20 64 69 73 70 |ctures, |and disp|
|000029b0| 6c 61 79 65 64 20 77 69 | 74 68 20 63 75 73 74 6f |layed wi|th custo|
|000029c0| 6d 20 72 6f 75 74 69 6e | 65 73 20 74 68 61 74 20 |m routin|es that |
|000029d0| 6b 6e 6f 77 20 74 68 65 | 20 62 65 73 74 20 77 61 |know the| best wa|
|000029e0| 79 20 74 6f 20 64 72 61 | 77 20 74 68 65 20 64 61 |y to dra|w the da|
|000029f0| 74 61 2e 0d 44 6f 6e d5 | 74 20 62 65 20 66 6f 6f |ta..Don.|t be foo|
|00002a00| 6c 65 64 20 62 79 20 74 | 68 65 20 72 69 63 68 6e |led by t|he richn|
|00002a10| 65 73 73 20 61 6e 64 20 | 67 65 6e 65 72 61 6c 20 |ess and |general |
|00002a20| 70 75 72 70 6f 73 65 20 | 69 6e 74 65 72 66 61 63 |purpose |interfac|
|00002a30| 65 20 74 6f 20 74 68 65 | 20 4c 69 73 74 20 4d 61 |e to the| List Ma|
|00002a40| 6e 61 67 65 72 2e 20 54 | 68 65 20 4c 69 73 74 20 |nager. T|he List |
|00002a50| 4d 61 6e 61 67 65 72 20 | 69 73 20 6e 6f 74 20 61 |Manager |is not a|
|00002a60| 20 73 70 72 65 61 64 73 | 68 65 65 74 2e 0d 44 69 | spreads|heet..Di|
|00002a70| 61 6c 6f 67 20 77 69 74 | 68 20 74 68 65 20 64 65 |alog wit|h the de|
|00002a80| 76 69 6c 0d 54 68 65 20 | 44 69 61 6c 6f 67 20 4d |vil.The |Dialog M|
|00002a90| 61 6e 61 67 65 72 20 69 | 73 20 76 65 72 79 20 61 |anager i|s very a|
|00002aa0| 74 74 72 61 63 74 69 76 | 65 2e 20 49 74 20 6c 6f |ttractiv|e. It lo|
|00002ab0| 6f 6b 73 20 6c 69 6b 65 | 20 69 74 20 77 69 6c 6c |oks like| it will|
|00002ac0| 20 68 61 6e 64 6c 65 20 | 77 69 6e 64 6f 77 73 20 | handle |windows |
|00002ad0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 77 69 |automati|cally wi|
|00002ae0| 74 68 20 6e 6f 20 70 72 | 6f 67 72 61 6d 6d 65 72 |th no pr|ogrammer|
|00002af0| 20 69 6e 74 65 72 76 65 | 6e 74 69 6f 6e 2c 20 61 | interve|ntion, a|
|00002b00| 6e 64 20 63 61 6e 20 68 | 61 6e 64 6c 65 20 61 20 |nd can h|andle a |
|00002b10| 77 69 64 65 20 76 61 72 | 69 65 74 79 20 6f 66 20 |wide var|iety of |
|00002b20| 65 6c 65 6d 65 6e 74 73 | 2e 20 49 74 20 73 65 65 |elements|. It see|
|00002b30| 6d 73 20 74 6f 20 68 61 | 6e 64 6c 65 20 63 6f 6e |ms to ha|ndle con|
|00002b40| 74 72 6f 6c 73 2c 20 73 | 74 61 74 69 63 20 74 65 |trols, s|tatic te|
|00002b50| 78 74 2c 20 65 64 69 74 | 61 62 6c 65 20 74 65 78 |xt, edit|able tex|
|00002b60| 74 2c 20 61 6e 64 20 70 | 72 6f 76 69 64 65 73 20 |t, and p|rovides |
|00002b70| 61 20 77 61 79 20 74 6f | 20 64 69 73 70 6c 61 79 |a way to| display|
|00002b80| 20 67 72 61 70 68 69 63 | 20 65 6c 65 6d 65 6e 74 | graphic| element|
|00002b90| 73 20 61 73 20 77 65 6c | 6c 2e 20 49 74 20 6d 75 |s as wel|l. It mu|
|00002ba0| 73 74 20 62 65 20 74 68 | 65 20 62 65 73 74 20 70 |st be th|e best p|
|00002bb0| 6f 73 73 69 62 6c 65 20 | 77 6f 72 6c 64 20 73 69 |ossible |world si|
|00002bc0| 6e 63 65 20 74 68 65 20 | 69 6e 74 65 72 66 61 63 |nce the |interfac|
|00002bd0| 65 20 69 73 20 76 65 72 | 79 20 73 74 72 61 69 67 |e is ver|y straig|
|00002be0| 68 74 66 6f 72 77 61 72 | 64 2c 20 61 6e 64 20 73 |htforwar|d, and s|
|00002bf0| 6f 20 6d 75 63 68 20 69 | 73 20 64 6f 6e 65 20 66 |o much i|s done f|
|00002c00| 6f 72 20 74 68 65 20 63 | 61 6c 6c 65 72 2e 20 41 |or the c|aller. A|
|00002c10| 74 20 6c 61 73 74 2c 20 | 61 20 73 75 70 65 72 62 |t last, |a superb|
|00002c20| 6c 79 20 67 65 6e 65 72 | 61 6c 20 70 75 72 70 6f |ly gener|al purpo|
|00002c30| 73 65 20 6d 61 6e 61 67 | 65 72 20 74 68 61 74 20 |se manag|er that |
|00002c40| 63 61 6e 20 62 65 20 75 | 73 65 64 20 66 6f 72 20 |can be u|sed for |
|00002c50| 61 6e 79 20 69 6e 74 65 | 72 66 61 63 65 2e 20 53 |any inte|rface. S|
|00002c60| 75 64 64 65 6e 6c 79 2c | 20 72 65 61 6c 69 74 79 |uddenly,| reality|
|00002c70| 20 72 65 61 72 73 20 69 | 74 73 20 75 67 6c 79 20 | rears i|ts ugly |
|00002c80| 68 65 61 64 20 61 67 61 | 69 6e 2c 20 61 6e 64 20 |head aga|in, and |
|00002c90| 69 74 20 69 73 20 69 6e | 74 65 72 65 73 74 69 6e |it is in|terestin|
|00002ca0| 67 20 74 6f 20 6e 6f 74 | 65 20 74 68 61 74 20 74 |g to not|e that t|
|00002cb0| 68 69 73 20 66 72 65 65 | 20 6c 75 6e 63 68 20 61 |his free| lunch a|
|00002cc0| 63 74 75 61 6c 6c 79 20 | 72 65 71 75 69 72 65 73 |ctually |requires|
|00002cd0| 20 6d 6f 72 65 20 77 6f | 72 6b 20 74 68 61 6e 20 | more wo|rk than |
|00002ce0| 64 6f 69 6e 67 20 74 68 | 65 20 73 61 6d 65 20 6a |doing th|e same j|
|00002cf0| 6f 62 20 75 73 69 6e 67 | 20 74 68 65 20 57 69 6e |ob using| the Win|
|00002d00| 64 6f 77 20 4d 61 6e 61 | 67 65 72 2c 20 51 75 69 |dow Mana|ger, Qui|
|00002d10| 63 6b 44 72 61 77 2c 20 | 54 65 78 74 45 64 69 74 |ckDraw, |TextEdit|
|00002d20| 2c 20 61 6e 64 20 74 68 | 65 20 43 6f 6e 74 72 6f |, and th|e Contro|
|00002d30| 6c 20 4d 61 6e 61 67 65 | 72 2e 20 57 68 79 3f 20 |l Manage|r. Why? |
|00002d40| 54 68 65 72 65 20 69 73 | 20 61 20 68 69 64 64 65 |There is| a hidde|
|00002d50| 6e 20 63 6f 73 74 20 69 | 6e 20 74 65 72 6d 73 20 |n cost i|n terms |
|00002d60| 6f 66 20 67 65 74 74 69 | 6e 67 20 74 68 65 20 44 |of getti|ng the D|
|00002d70| 69 61 6c 6f 67 20 4d 61 | 6e 61 67 65 72 20 74 6f |ialog Ma|nager to|
|00002d80| 20 64 6f 20 65 78 61 63 | 74 6c 79 20 74 68 65 20 | do exac|tly the |
|00002d90| 64 65 73 69 72 65 64 20 | 74 61 73 6b 2e 20 48 65 |desired |task. He|
|00002da0| 72 65 20 61 67 61 69 6e | 2c 20 69 66 20 74 68 65 |re again|, if the|
|00002db0| 20 65 6e 64 20 72 65 73 | 75 6c 74 20 69 73 20 73 | end res|ult is s|
|00002dc0| 75 70 70 6f 73 65 64 20 | 74 6f 20 62 65 20 61 20 |upposed |to be a |
|00002dd0| 73 69 6d 70 6c 65 20 64 | 69 61 6c 6f 67 20 77 69 |simple d|ialog wi|
|00002de0| 74 68 20 61 20 66 65 77 | 20 63 6f 6e 74 72 6f 6c |th a few| control|
|00002df0| 73 2c 20 74 68 65 20 44 | 69 61 6c 6f 67 20 4d 61 |s, the D|ialog Ma|
|00002e00| 6e 61 67 65 72 20 69 73 | 20 73 75 69 74 65 64 20 |nager is| suited |
|00002e10| 74 6f 20 74 68 65 20 6a | 6f 62 2e 20 54 68 61 74 |to the j|ob. That|
|00002e20| 20 69 73 20 77 68 61 74 | 20 69 74 20 77 61 73 20 | is what| it was |
|00002e30| 77 72 69 74 74 65 6e 20 | 74 6f 20 64 6f 2e 20 49 |written |to do. I|
|00002e40| 74 20 77 61 73 20 6e 6f | 74 20 64 65 73 69 67 6e |t was no|t design|
|00002e50| 65 64 20 61 73 20 61 20 | 77 61 79 20 74 6f 20 68 |ed as a |way to h|
|00002e60| 61 6e 64 6c 65 20 74 68 | 65 20 66 75 6c 6c 20 69 |andle th|e full i|
|00002e70| 6e 74 65 72 66 61 63 65 | 20 66 6f 72 20 61 70 70 |nterface| for app|
|00002e80| 6c 69 63 61 74 69 6f 6e | 73 2e 0d 41 73 20 61 6e |lication|s..As an|
|00002e90| 20 65 78 61 6d 70 6c 65 | 20 6f 66 20 61 20 68 69 | example| of a hi|
|00002ea0| 64 64 65 6e 20 63 6f 73 | 74 2c 20 77 68 61 74 20 |dden cos|t, what |
|00002eb0| 69 66 20 74 68 65 20 69 | 6e 74 65 72 66 61 63 65 |if the i|nterface|
|00002ec0| 20 72 65 71 75 69 72 65 | 73 20 74 68 61 74 20 74 | require|s that t|
|00002ed0| 68 65 20 70 72 6f 67 72 | 61 6d 20 62 65 20 61 62 |he progr|am be ab|
|00002ee0| 6c 65 20 74 6f 20 68 61 | 6e 64 6c 65 20 61 20 64 |le to ha|ndle a d|
|00002ef0| 69 73 6b 20 69 6e 73 65 | 72 74 65 64 20 65 76 65 |isk inse|rted eve|
|00002f00| 6e 74 3f 20 49 66 20 74 | 68 69 73 20 69 73 20 70 |nt? If t|his is p|
|00002f10| 61 72 74 20 6f 66 20 61 | 20 4d 6f 64 61 6c 44 69 |art of a| ModalDi|
|00002f20| 61 6c 6f 67 2c 20 74 68 | 61 74 20 72 65 71 75 69 |alog, th|at requi|
|00002f30| 72 65 73 20 70 61 73 73 | 69 6e 67 20 61 20 73 70 |res pass|ing a sp|
|00002f40| 65 63 69 61 6c 20 66 69 | 6c 74 65 72 50 72 6f 63 |ecial fi|lterProc|
|00002f50| 20 74 6f 20 74 68 65 20 | 64 69 61 6c 6f 67 20 77 | to the |dialog w|
|00002f60| 68 65 6e 20 69 74 20 69 | 73 20 63 61 6c 6c 65 64 |hen it i|s called|
|00002f70| 2e 20 49 74 20 69 73 20 | 6e 6f 77 20 6e 65 63 65 |. It is |now nece|
|00002f80| 73 73 61 72 79 20 74 6f | 20 66 75 6c 6c 79 20 75 |ssary to| fully u|
|00002f90| 6e 64 65 72 73 74 61 6e | 64 20 68 6f 77 20 74 68 |nderstan|d how th|
|00002fa0| 65 20 70 72 6f 63 20 67 | 65 74 73 20 63 61 6c 6c |e proc g|ets call|
|00002fb0| 65 64 2c 20 77 68 61 74 | 20 69 73 20 6c 65 67 61 |ed, what| is lega|
|00002fc0| 6c 2c 20 61 6e 64 20 77 | 68 61 74 20 74 68 65 20 |l, and w|hat the |
|00002fd0| 70 72 6f 63 20 69 73 20 | 72 65 71 75 69 72 65 64 |proc is |required|
|00002fe0| 20 74 6f 20 64 6f 2e 20 | 54 68 61 74 20 6d 61 79 | to do. |That may|
|00002ff0| 20 6e 6f 74 20 62 65 20 | 74 6f 6f 20 68 61 72 64 | not be |too hard|
|00003000| 2c 20 62 75 74 20 69 74 | 20 69 73 20 74 69 6d 65 |, but it| is time|
|00003010| 20 73 70 65 6e 74 20 6f | 6e 20 73 6f 6d 65 74 68 | spent o|n someth|
|00003020| 69 6e 67 20 74 68 61 74 | 20 68 61 73 20 6e 6f 74 |ing that| has not|
|00003030| 68 69 6e 67 20 74 6f 20 | 64 6f 20 77 69 74 68 20 |hing to |do with |
|00003040| 67 65 74 74 69 6e 67 20 | 74 68 65 20 6a 6f 62 20 |getting |the job |
|00003050| 64 6f 6e 65 3b 20 69 74 | 20 69 73 20 6f 6e 6c 79 |done; it| is only|
|00003060| 20 74 69 6d 65 20 73 70 | 65 6e 74 20 75 6e 64 65 | time sp|ent unde|
|00003070| 72 73 74 61 6e 64 69 6e | 67 20 68 6f 77 20 74 68 |rstandin|g how th|
|00003080| 65 20 44 69 61 6c 6f 67 | 20 4d 61 6e 61 67 65 72 |e Dialog| Manager|
|00003090| 20 77 6f 72 6b 73 2e 20 | 0d 41 6e 6f 74 68 65 72 | works. |.Another|
|000030a0| 20 65 78 61 6d 70 6c 65 | 20 69 73 20 61 64 64 69 | example| is addi|
|000030b0| 6e 67 20 73 6f 6d 65 74 | 68 69 6e 67 20 74 6f 20 |ng somet|hing to |
|000030c0| 61 20 64 69 61 6c 6f 67 | 20 77 68 69 63 68 20 72 |a dialog| which r|
|000030d0| 65 71 75 69 72 65 73 20 | 73 70 65 63 69 61 6c 20 |equires |special |
|000030e0| 73 65 74 75 70 20 61 6e | 64 20 75 70 64 61 74 65 |setup an|d update|
|000030f0| 20 72 6f 75 74 69 6e 65 | 73 2e 20 20 48 65 72 65 | routine|s. Here|
|00003100| 20 61 67 61 69 6e 2c 20 | 69 74 20 69 73 20 6e 6f | again, |it is no|
|00003110| 74 20 74 6f 6f 20 68 61 | 72 64 20 74 6f 20 66 69 |t too ha|rd to fi|
|00003120| 67 75 72 65 20 6f 75 74 | 2c 20 62 75 74 20 69 74 |gure out|, but it|
|00003130| 20 69 73 20 74 69 6d 65 | 20 73 70 65 6e 74 20 74 | is time| spent t|
|00003140| 72 79 69 6e 67 20 74 6f | 20 74 65 6c 6c 20 74 68 |rying to| tell th|
|00003150| 65 20 44 69 61 6c 6f 67 | 20 4d 61 6e 61 67 65 72 |e Dialog| Manager|
|00003160| 20 77 68 61 74 20 73 68 | 6f 75 6c 64 20 62 65 20 | what sh|ould be |
|00003170| 64 6f 6e 65 2e 20 54 68 | 65 72 65 20 61 72 65 20 |done. Th|ere are |
|00003180| 6c 69 74 65 72 61 6c 6c | 79 20 68 75 6e 64 72 65 |literall|y hundre|
|00003190| 64 73 20 6f 66 20 74 68 | 65 73 65 20 73 70 65 63 |ds of th|ese spec|
|000031a0| 69 61 6c 20 63 61 73 65 | 73 20 61 6e 64 20 74 6f |ial case|s and to|
|000031b0| 75 67 68 2c 20 73 6d 61 | 6c 6c 20 70 72 6f 62 6c |ugh, sma|ll probl|
|000031c0| 65 6d 73 20 77 68 65 6e | 20 74 72 79 69 6e 67 20 |ems when| trying |
|000031d0| 74 6f 20 65 78 74 65 6e | 64 20 61 20 64 69 61 6c |to exten|d a dial|
|000031e0| 6f 67 20 70 61 73 74 20 | 61 20 73 69 6d 70 6c 65 |og past |a simple|
|000031f0| 20 69 6e 74 65 72 66 61 | 63 65 2e 20 48 75 6e 64 | interfa|ce. Hund|
|00003200| 72 65 64 73 20 6f 66 20 | 4d 61 63 20 70 72 6f 67 |reds of |Mac prog|
|00003210| 72 61 6d 6d 65 72 73 20 | 68 61 76 65 20 77 61 73 |rammers |have was|
|00003220| 74 65 64 20 68 75 6e 64 | 72 65 64 73 20 28 74 68 |ted hund|reds (th|
|00003230| 6f 75 73 61 6e 64 73 3f | 29 20 6f 66 20 68 6f 75 |ousands?|) of hou|
|00003240| 72 73 20 66 69 6e 64 69 | 6e 67 20 77 61 79 73 20 |rs findi|ng ways |
|00003250| 74 6f 20 63 6f 65 72 63 | 65 20 74 68 65 20 44 69 |to coerc|e the Di|
|00003260| 61 6c 6f 67 20 4d 61 6e | 61 67 65 72 20 69 6e 74 |alog Man|ager int|
|00003270| 6f 20 72 75 6e 6e 69 6e | 67 20 61 20 77 69 6e 64 |o runnin|g a wind|
|00003280| 6f 77 20 69 6e 20 61 20 | 73 70 65 63 69 61 6c 20 |ow in a |special |
|00003290| 77 61 79 2e 0d 48 6f 77 | 20 61 62 6f 75 74 20 61 |way..How| about a|
|000032a0| 64 64 69 6e 67 20 61 20 | 73 70 65 63 69 61 6c 20 |dding a |special |
|000032b0| 63 6f 6e 74 72 6f 6c 20 | 74 6f 20 61 20 64 69 61 |control |to a dia|
|000032c0| 6c 6f 67 3f 20 53 65 65 | 6d 73 20 73 74 72 61 69 |log? See|ms strai|
|000032d0| 67 68 74 66 6f 72 77 61 | 72 64 2e 2e 2e 20 48 6f |ghtforwa|rd... Ho|
|000032e0| 77 20 61 62 6f 75 74 20 | 6d 61 6b 69 6e 67 20 69 |w about |making i|
|000032f0| 74 20 6d 6f 64 65 6c 65 | 73 73 20 69 6e 73 74 65 |t modele|ss inste|
|00003300| 61 64 3f 20 48 6f 77 20 | 61 62 6f 75 74 20 6d 6f |ad? How |about mo|
|00003310| 76 69 6e 67 20 73 6f 6d | 65 20 69 74 65 6d 73 20 |ving som|e items |
|00003320| 69 6e 20 74 68 65 20 64 | 69 61 6c 6f 67 20 6f 66 |in the d|ialog of|
|00003330| 66 20 73 63 72 65 65 6e | 3f 20 48 6f 77 20 61 62 |f screen|? How ab|
|00003340| 6f 75 74 20 6d 6f 76 69 | 6e 67 20 61 6e 20 45 64 |out movi|ng an Ed|
|00003350| 69 74 54 65 78 74 20 69 | 74 65 6d 20 6f 66 66 20 |itText i|tem off |
|00003360| 73 63 72 65 65 6e 3f 20 | 48 6f 77 20 61 62 6f 75 |screen? |How abou|
|00003370| 74 20 77 61 6e 74 69 6e | 67 20 74 6f 20 63 68 61 |t wantin|g to cha|
|00003380| 6e 67 65 20 74 68 65 20 | 64 69 61 6c 6f 67 20 74 |nge the |dialog t|
|00003390| 65 6d 70 6c 61 74 65 20 | 62 65 66 6f 72 65 20 74 |emplate |before t|
|000033a0| 68 65 20 64 69 61 6c 6f | 67 20 69 73 20 75 73 65 |he dialo|g is use|
|000033b0| 64 3f 20 48 6f 77 20 61 | 62 6f 75 74 20 61 6c 6c |d? How a|bout all|
|000033c0| 20 6f 66 20 74 68 65 20 | 61 62 6f 76 65 20 61 6c | of the |above al|
|000033d0| 6c 20 61 74 20 74 68 65 | 20 73 61 6d 65 20 74 69 |l at the| same ti|
|000033e0| 6d 65 3f 0d 48 6f 77 20 | 61 62 6f 75 74 20 73 6b |me?.How |about sk|
|000033f0| 69 70 70 69 6e 67 20 69 | 74 20 61 6e 64 20 75 73 |ipping i|t and us|
|00003400| 69 6e 67 20 74 68 65 20 | 57 69 6e 64 6f 77 20 4d |ing the |Window M|
|00003410| 61 6e 61 67 65 72 20 69 | 6e 73 74 65 61 64 3f 0d |anager i|nstead?.|
|00003420| 54 68 65 72 65 20 61 72 | 65 20 61 20 6e 75 6d 62 |There ar|e a numb|
|00003430| 65 72 20 6f 66 20 70 65 | 72 66 6f 72 6d 61 6e 63 |er of pe|rformanc|
|00003440| 65 20 70 65 6e 61 6c 74 | 69 65 73 20 66 6f 72 20 |e penalt|ies for |
|00003450| 6c 61 72 67 65 20 64 69 | 61 6c 6f 67 73 20 61 73 |large di|alogs as|
|00003460| 20 77 65 6c 6c 2e 20 41 | 20 64 69 61 6c 6f 67 20 | well. A| dialog |
|00003470| 77 69 74 68 20 35 30 20 | 72 61 64 69 6f 20 62 75 |with 50 |radio bu|
|00003480| 74 74 6f 6e 73 20 77 69 | 6c 6c 20 62 65 20 75 6e |ttons wi|ll be un|
|00003490| 61 63 63 65 70 74 61 62 | 6c 79 20 73 6c 6f 77 2e |acceptab|ly slow.|
|000034a0| 20 49 74 20 73 68 6f 75 | 6c 64 20 62 65 20 6e 6f | It shou|ld be no|
|000034b0| 74 65 64 20 74 68 61 74 | 20 74 68 65 20 44 69 61 |ted that| the Dia|
|000034c0| 6c 6f 67 20 4d 61 6e 61 | 67 65 72 20 63 61 6e 6e |log Mana|ger cann|
|000034d0| 6f 74 20 6b 6e 6f 77 20 | 74 68 65 20 64 65 73 69 |ot know |the desi|
|000034e0| 72 65 64 20 70 75 72 70 | 6f 73 65 20 6f 66 20 74 |red purp|ose of t|
|000034f0| 68 65 20 62 75 74 74 6f | 6e 73 2c 20 73 6f 20 69 |he butto|ns, so i|
|00003500| 74 20 63 61 6e 6e 6f 74 | 20 73 65 74 20 74 68 65 |t cannot| set the|
|00003510| 20 62 75 74 74 6f 6e 2c | 20 6e 6f 72 20 63 6c 65 | button,| nor cle|
|00003520| 61 72 20 61 6e 6f 74 68 | 65 72 20 69 6e 20 74 68 |ar anoth|er in th|
|00003530| 65 20 73 61 6d 65 20 73 | 65 74 2e 20 49 6e 20 6f |e same s|et. In o|
|00003540| 72 64 65 72 20 74 6f 20 | 69 6d 70 6c 65 6d 65 6e |rder to |implemen|
|00003550| 74 20 74 68 65 20 61 63 | 74 75 61 6c 20 72 61 64 |t the ac|tual rad|
|00003560| 69 6f 20 62 75 74 74 6f | 6e 20 61 73 70 65 63 74 |io butto|n aspect|
|00003570| 20 6f 66 20 61 20 73 65 | 74 20 6f 66 20 63 6f 6e | of a se|t of con|
|00003580| 74 72 6f 6c 73 2c 20 69 | 74 20 68 61 73 20 74 6f |trols, i|t has to|
|00003590| 20 62 65 20 64 6f 6e 65 | 20 62 79 20 74 68 65 20 | be done| by the |
|000035a0| 63 61 6c 6c 69 6e 67 20 | 70 72 6f 67 72 61 6d 2e |calling |program.|
|000035b0| 20 41 74 20 74 68 69 73 | 20 70 6f 69 6e 74 2c 20 | At this| point, |
|000035c0| 74 68 65 20 6f 6e 6c 79 | 20 74 68 69 6e 67 20 74 |the only| thing t|
|000035d0| 68 65 20 44 69 61 6c 6f | 67 20 4d 61 6e 61 67 65 |he Dialo|g Manage|
|000035e0| 72 20 69 73 20 68 61 6e | 64 6c 69 6e 67 20 69 73 |r is han|dling is|
|000035f0| 20 74 68 65 20 63 72 65 | 61 74 69 6f 6e 20 61 6e | the cre|ation an|
|00003600| 64 20 64 72 61 77 69 6e | 67 20 6f 66 20 74 68 65 |d drawin|g of the|
|00003610| 20 63 6f 6e 74 72 6f 6c | 73 2c 20 77 68 69 63 68 | control|s, which|
|00003620| 20 63 61 6e 20 65 61 73 | 69 6c 79 20 62 65 20 64 | can eas|ily be d|
|00003630| 6f 6e 65 20 77 69 74 68 | 20 47 65 74 4e 65 77 43 |one with| GetNewC|
|00003640| 6f 6e 74 72 6f 6c 20 61 | 6e 64 20 44 72 61 77 43 |ontrol a|nd DrawC|
|00003650| 6f 6e 74 72 6f 6c 73 2e | 20 54 68 65 20 44 69 61 |ontrols.| The Dia|
|00003660| 6c 6f 67 20 4d 61 6e 61 | 67 65 72 20 61 63 74 75 |log Mana|ger actu|
|00003670| 61 6c 6c 79 20 67 65 74 | 73 20 69 6e 20 74 68 65 |ally get|s in the|
|00003680| 20 77 61 79 20 6f 66 20 | 61 20 6d 6f 72 65 20 63 | way of |a more c|
|00003690| 6f 6d 70 6c 65 78 20 69 | 6e 74 65 72 66 61 63 65 |omplex i|nterface|
|000036a0| 2e 20 4c 6f 6f 6b 69 6e | 67 20 69 6e 74 6f 20 74 |. Lookin|g into t|
|000036b0| 68 65 20 64 61 74 61 20 | 73 74 72 75 63 74 75 72 |he data |structur|
|000036c0| 65 73 20 73 68 6f 77 73 | 20 74 68 61 74 20 74 68 |es shows| that th|
|000036d0| 65 20 6c 69 73 74 20 6f | 66 20 69 74 65 6d 73 20 |e list o|f items |
|000036e0| 69 6e 20 61 20 64 69 61 | 6c 6f 67 20 69 73 20 61 |in a dia|log is a|
|000036f0| 20 6c 69 6e 65 61 72 20 | 6c 69 73 74 2e 20 41 6c | linear |list. Al|
|00003700| 73 6f 20 6f 66 20 6e 6f | 74 65 20 69 73 20 74 68 |so of no|te is th|
|00003710| 61 74 20 74 68 65 72 65 | 20 61 72 65 20 6e 6f 20 |at there| are no |
|00003720| 6f 66 66 73 65 74 73 20 | 74 6f 20 74 68 65 20 76 |offsets |to the v|
|00003730| 61 72 69 6f 75 73 20 69 | 74 65 6d 73 21 20 54 68 |arious i|tems! Th|
|00003740| 69 73 20 69 73 20 73 69 | 67 6e 69 66 69 63 61 6e |is is si|gnifican|
|00003750| 74 20 62 65 63 61 75 73 | 65 20 69 74 20 6d 65 61 |t becaus|e it mea|
|00003760| 6e 73 20 74 68 61 74 20 | 74 68 65 20 44 69 61 6c |ns that |the Dial|
|00003770| 6f 67 20 4d 61 6e 61 67 | 65 72 20 68 61 73 20 74 |og Manag|er has t|
|00003780| 6f 20 64 72 69 76 65 20 | 74 68 72 6f 75 67 68 20 |o drive |through |
|00003790| 74 68 65 20 65 6e 74 69 | 72 65 20 6c 69 73 74 20 |the enti|re list |
|000037a0| 6f 66 20 69 74 65 6d 73 | 20 66 6f 72 20 65 76 65 |of items| for eve|
|000037b0| 72 79 20 73 69 6e 67 6c | 65 20 6f 70 65 72 61 74 |ry singl|e operat|
|000037c0| 69 6f 6e 20 69 74 20 70 | 65 72 66 6f 72 6d 73 2e |ion it p|erforms.|
|000037d0| 20 49 66 20 69 74 20 67 | 65 74 73 20 61 6e 20 75 | If it g|ets an u|
|000037e0| 70 64 61 74 65 20 65 76 | 65 6e 74 20 69 74 20 68 |pdate ev|ent it h|
|000037f0| 61 73 20 74 6f 20 74 72 | 61 76 65 72 73 65 20 74 |as to tr|averse t|
|00003800| 68 65 20 6c 69 73 74 2e | 20 49 66 20 69 74 20 67 |he list.| If it g|
|00003810| 65 74 73 20 61 20 6d 6f | 75 73 65 20 65 76 65 6e |ets a mo|use even|
|00003820| 74 20 69 74 20 68 61 73 | 20 74 6f 20 74 72 61 76 |t it has| to trav|
|00003830| 65 72 73 65 20 74 68 65 | 20 6c 69 73 74 2e 20 54 |erse the| list. T|
|00003840| 68 69 73 20 63 61 6e 6e | 6f 74 20 62 65 20 65 78 |his cann|ot be ex|
|00003850| 70 65 63 74 65 64 20 74 | 6f 20 62 65 20 66 61 73 |pected t|o be fas|
|00003860| 74 20 77 69 74 68 20 31 | 30 30 20 69 74 65 6d 73 |t with 1|00 items|
|00003870| 2e 20 0d 41 6e 6f 74 68 | 65 72 20 70 65 72 66 6f |. .Anoth|er perfo|
|00003880| 72 6d 61 6e 63 65 20 70 | 72 6f 62 6c 65 6d 20 66 |rmance p|roblem f|
|00003890| 6f 72 20 73 6f 6d 65 20 | 70 72 6f 67 72 61 6d 6d |or some |programm|
|000038a0| 65 72 73 20 69 73 20 74 | 68 65 20 73 69 6d 70 6c |ers is t|he simpl|
|000038b0| 65 20 64 72 61 77 69 6e | 67 20 73 63 68 65 6d 65 |e drawin|g scheme|
|000038c0| 20 75 73 65 64 20 62 79 | 20 74 68 65 20 44 69 61 | used by| the Dia|
|000038d0| 6c 6f 67 20 4d 61 6e 61 | 67 65 72 2e 20 49 66 20 |log Mana|ger. If |
|000038e0| 61 20 64 69 61 6c 6f 67 | 20 68 61 73 20 73 6f 6d |a dialog| has som|
|000038f0| 65 20 69 74 65 6d 73 20 | 74 68 61 74 20 61 72 65 |e items |that are|
|00003900| 20 6f 66 66 73 63 72 65 | 65 6e 2c 20 74 68 65 79 | offscre|en, they|
|00003910| 20 67 65 74 20 64 72 61 | 77 6e 20 64 75 72 69 6e | get dra|wn durin|
|00003920| 67 20 75 70 64 61 74 65 | 20 65 76 65 6e 74 73 20 |g update| events |
|00003930| 61 6e 79 77 61 79 2e 20 | 54 68 65 20 44 69 61 6c |anyway. |The Dial|
|00003940| 6f 67 20 4d 61 6e 61 67 | 65 72 20 77 69 6c 6c 20 |og Manag|er will |
|00003950| 74 72 61 76 65 72 73 65 | 20 74 68 65 20 6c 69 73 |traverse| the lis|
|00003960| 74 20 61 6e 64 20 64 72 | 61 77 20 65 61 63 68 20 |t and dr|aw each |
|00003970| 69 74 65 6d 2c 20 77 68 | 65 74 68 65 72 20 69 74 |item, wh|ether it|
|00003980| 20 69 73 20 6f 6e 20 73 | 63 72 65 65 6e 20 6f 72 | is on s|creen or|
|00003990| 20 6e 6f 74 2e 20 54 68 | 69 73 20 63 6f 6d 65 73 | not. Th|is comes|
|000039a0| 20 66 72 6f 6d 20 74 68 | 65 20 6f 72 69 67 69 6e | from th|e origin|
|000039b0| 61 6c 20 64 65 73 69 67 | 6e 20 6f 66 20 74 68 65 |al desig|n of the|
|000039c0| 20 44 69 61 6c 6f 67 20 | 4d 61 6e 61 67 65 72 2c | Dialog |Manager,|
|000039d0| 20 69 6e 20 74 68 61 74 | 20 69 74 20 77 61 73 20 | in that| it was |
|000039e0| 6e 65 76 65 72 20 69 6e | 74 65 6e 64 65 64 20 74 |never in|tended t|
|000039f0| 6f 20 68 61 6e 64 6c 65 | 20 68 75 6e 64 72 65 64 |o handle| hundred|
|00003a00| 73 20 6f 66 20 69 74 65 | 6d 73 2c 20 6f 72 20 69 |s of ite|ms, or i|
|00003a10| 74 65 6d 73 20 6f 66 66 | 20 73 63 72 65 65 6e 2e |tems off| screen.|
|00003a20| 0d 53 6f 6d 65 20 72 75 | 6c 65 73 20 6f 66 20 74 |.Some ru|les of t|
|00003a30| 68 75 6d 62 3a 20 49 66 | 20 74 68 65 72 65 20 61 |humb: If| there a|
|00003a40| 72 65 20 6d 6f 72 65 20 | 74 68 61 6e 20 32 30 20 |re more |than 20 |
|00003a50| 69 74 65 6d 73 20 69 6e | 20 74 68 65 20 64 69 61 |items in| the dia|
|00003a60| 6c 6f 67 20 69 74 20 73 | 68 6f 75 6c 64 20 62 65 |log it s|hould be|
|00003a70| 20 61 20 73 74 61 6e 64 | 61 72 64 20 77 69 6e 64 | a stand|ard wind|
|00003a80| 6f 77 2e 20 49 66 20 61 | 20 63 6f 6d 70 6c 69 63 |ow. If a| complic|
|00003a90| 61 74 65 64 20 63 6f 6e | 74 72 6f 6c 20 6c 69 6b |ated con|trol lik|
|00003aa0| 65 20 61 20 73 63 72 6f | 6c 6c 20 62 61 72 20 69 |e a scro|ll bar i|
|00003ab0| 73 20 6e 65 65 64 65 64 | 2c 20 69 74 20 73 68 6f |s needed|, it sho|
|00003ac0| 75 6c 64 20 62 65 20 61 | 20 73 74 61 6e 64 61 72 |uld be a| standar|
|00003ad0| 64 20 77 69 6e 64 6f 77 | 2e 20 49 66 20 74 68 65 |d window|. If the|
|00003ae0| 72 65 20 61 72 65 20 69 | 74 65 6d 73 20 6f 66 66 |re are i|tems off|
|00003af0| 73 63 72 65 65 6e 2c 20 | 69 74 20 73 68 6f 75 6c |screen, |it shoul|
|00003b00| 64 20 62 65 20 61 20 73 | 74 61 6e 64 61 72 64 20 |d be a s|tandard |
|00003b10| 77 69 6e 64 6f 77 2e 20 | 49 66 20 74 68 65 72 65 |window. |If there|
|00003b20| 20 69 73 20 61 20 70 69 | 63 74 6f 72 69 61 6c 20 | is a pi|ctorial |
|00003b30| 69 6e 64 69 63 61 74 6f | 72 20 6c 69 6b 65 20 61 |indicato|r like a|
|00003b40| 20 70 72 6f 67 72 65 73 | 73 20 69 6e 64 69 63 61 | progres|s indica|
|00003b50| 74 6f 72 2c 20 69 74 20 | 73 68 6f 75 6c 64 20 62 |tor, it |should b|
|00003b60| 65 20 61 20 73 74 61 6e | 64 61 72 64 20 77 69 6e |e a stan|dard win|
|00003b70| 64 6f 77 2e 20 49 66 20 | 69 74 20 69 73 20 61 20 |dow. If |it is a |
|00003b80| 6d 6f 64 65 6c 65 73 73 | 20 64 69 61 6c 6f 67 20 |modeless| dialog |
|00003b90| 69 74 20 73 68 6f 75 6c | 64 20 62 65 20 61 20 73 |it shoul|d be a s|
|00003ba0| 74 61 6e 64 61 72 64 20 | 77 69 6e 64 6f 77 2e 20 |tandard |window. |
|00003bb0| 49 66 20 61 6e 79 20 6f | 66 20 74 68 65 20 69 74 |If any o|f the it|
|00003bc0| 65 6d 73 20 61 72 65 20 | 6d 6f 76 61 62 6c 65 20 |ems are |movable |
|00003bd0| 69 6e 20 74 68 65 20 64 | 69 61 6c 6f 67 2c 20 69 |in the d|ialog, i|
|00003be0| 74 20 73 68 6f 75 6c 64 | 20 62 65 20 61 20 73 74 |t should| be a st|
|00003bf0| 61 6e 64 61 72 64 20 77 | 69 6e 64 6f 77 2e 20 49 |andard w|indow. I|
|00003c00| 66 20 69 74 20 69 73 20 | 6e 65 63 65 73 73 61 72 |f it is |necessar|
|00003c10| 79 20 74 6f 20 75 73 65 | 20 61 20 66 69 6c 74 65 |y to use| a filte|
|00003c20| 72 50 72 6f 63 20 74 6f | 20 61 64 64 20 66 75 6e |rProc to| add fun|
|00003c30| 63 74 69 6f 6e 61 6c 69 | 74 79 2c 20 69 74 20 73 |ctionali|ty, it s|
|00003c40| 68 6f 75 6c 64 20 62 65 | 20 61 20 73 74 61 6e 64 |hould be| a stand|
|00003c50| 61 72 64 20 77 69 6e 64 | 6f 77 2e 20 20 49 66 20 |ard wind|ow. If |
|00003c60| 69 6e 20 64 6f 75 62 74 | 2c 20 69 74 20 73 68 6f |in doubt|, it sho|
|00003c70| 75 6c 64 20 70 72 6f 62 | 61 62 6c 79 20 62 65 20 |uld prob|ably be |
|00003c80| 61 20 73 74 61 6e 64 61 | 72 64 20 77 69 6e 64 6f |a standa|rd windo|
|00003c90| 77 2e 0d 48 61 6e 64 6c | 69 6e 67 20 61 20 64 69 |w..Handl|ing a di|
|00003ca0| 61 6c 6f 67 20 77 69 74 | 68 20 74 68 65 20 57 69 |alog wit|h the Wi|
|00003cb0| 6e 64 6f 77 20 4d 61 6e | 61 67 65 72 20 69 73 20 |ndow Man|ager is |
|00003cc0| 76 65 72 79 20 73 74 72 | 61 69 67 68 74 66 6f 72 |very str|aightfor|
|00003cd0| 77 61 72 64 2c 20 6d 75 | 63 68 20 6d 6f 72 65 20 |ward, mu|ch more |
|00003ce0| 73 6f 20 74 68 61 6e 20 | 74 72 79 69 6e 67 20 74 |so than |trying t|
|00003cf0| 6f 20 67 65 74 20 61 72 | 6f 75 6e 64 20 74 68 65 |o get ar|ound the|
|00003d00| 20 44 69 61 6c 6f 67 20 | 4d 61 6e 61 67 65 72 2e | Dialog |Manager.|
|00003d10| 20 54 68 65 72 65 20 69 | 73 20 74 68 65 20 73 74 | There i|s the st|
|00003d20| 61 6e 64 61 72 64 20 6d | 61 69 6e 20 65 76 65 6e |andard m|ain even|
|00003d30| 74 20 6c 6f 6f 70 2c 20 | 61 6e 64 20 61 20 63 6f |t loop, |and a co|
|00003d40| 6e 76 65 6e 74 69 6f 6e | 61 6c 20 63 61 73 65 20 |nvention|al case |
|00003d50| 73 74 61 74 65 6d 65 6e | 74 20 74 6f 20 68 61 6e |statemen|t to han|
|00003d60| 64 6c 65 20 74 68 65 20 | 65 76 65 6e 74 73 20 6f |dle the |events o|
|00003d70| 66 20 69 6e 74 65 72 65 | 73 74 2e 20 49 66 20 74 |f intere|st. If t|
|00003d80| 68 65 72 65 20 61 72 65 | 20 63 6f 6e 74 72 6f 6c |here are| control|
|00003d90| 73 20 69 6e 20 74 68 65 | 20 77 69 6e 64 6f 77 2c |s in the| window,|
|00003da0| 20 74 68 65 79 20 61 72 | 65 20 65 61 73 69 6c 79 | they ar|e easily|
|00003db0| 20 68 61 6e 64 6c 65 64 | 20 77 69 74 68 20 43 6f | handled| with Co|
|00003dc0| 6e 74 72 6f 6c 20 4d 61 | 6e 61 67 65 72 20 63 61 |ntrol Ma|nager ca|
|00003dd0| 6c 6c 73 2e 20 41 6e 79 | 20 73 70 65 63 69 61 6c |lls. Any| special|
|00003de0| 20 69 74 65 6d 73 20 63 | 61 6e 20 62 65 20 61 64 | items c|an be ad|
|00003df0| 64 65 64 20 74 6f 20 74 | 68 65 20 63 61 73 65 20 |ded to t|he case |
|00003e00| 73 74 61 74 65 6d 65 6e | 74 20 77 69 74 68 20 6e |statemen|t with n|
|00003e10| 6f 20 74 72 69 63 6b 73 | 2e 20 4f 76 65 72 61 6c |o tricks|. Overal|
|00003e20| 6c 20 74 68 65 72 65 20 | 69 73 20 6d 6f 72 65 20 |l there |is more |
|00003e30| 63 6f 64 65 20 74 6f 20 | 77 72 69 74 65 2c 20 62 |code to |write, b|
|00003e40| 75 74 20 74 68 65 20 63 | 6f 64 65 20 69 73 20 6d |ut the c|ode is m|
|00003e50| 75 63 68 20 6c 65 73 73 | 20 63 6f 6d 70 6c 65 78 |uch less| complex|
|00003e60| 20 28 72 65 61 64 20 61 | 73 3a 20 65 61 73 69 65 | (read a|s: easie|
|00003e70| 72 20 74 6f 20 66 69 67 | 75 72 65 20 6f 75 74 2c |r to fig|ure out,|
|00003e80| 20 65 61 73 69 65 72 20 | 74 6f 20 64 65 62 75 67 | easier |to debug|
|00003e90| 2c 20 65 61 73 69 65 72 | 20 74 6f 20 6d 61 69 6e |, easier| to main|
|00003ea0| 74 61 69 6e 29 2e 20 49 | 6e 20 61 64 64 69 74 69 |tain). I|n additi|
|00003eb0| 6f 6e 2c 20 77 68 65 6e | 20 65 78 74 72 61 20 69 |on, when| extra i|
|00003ec0| 74 65 6d 73 20 68 61 76 | 65 20 74 6f 20 62 65 20 |tems hav|e to be |
|00003ed0| 61 64 64 65 64 20 74 6f | 20 74 68 65 20 77 69 6e |added to| the win|
|00003ee0| 64 6f 77 2c 20 74 68 65 | 72 65 20 69 73 20 61 6e |dow, the|re is an|
|00003ef0| 20 65 61 73 79 2d 74 6f | 2d 66 69 6e 64 2c 20 6c | easy-to|-find, l|
|00003f00| 6f 67 69 63 61 6c 20 70 | 6c 61 63 65 20 74 6f 20 |ogical p|lace to |
|00003f10| 61 64 64 20 74 68 65 20 | 63 6f 64 65 2e 20 57 69 |add the |code. Wi|
|00003f20| 74 68 20 74 68 65 20 44 | 69 61 6c 6f 67 20 4d 61 |th the D|ialog Ma|
|00003f30| 6e 61 67 65 72 20 74 68 | 65 72 65 20 6d 61 79 20 |nager th|ere may |
|00003f40| 62 65 20 68 69 64 64 65 | 6e 20 64 69 66 66 69 63 |be hidde|n diffic|
|00003f50| 75 6c 74 69 65 73 2e 0d | 54 68 65 20 44 69 61 6c |ulties..|The Dial|
|00003f60| 6f 67 20 4d 61 6e 61 67 | 65 72 20 69 73 20 76 65 |og Manag|er is ve|
|00003f70| 72 79 20 70 6f 77 65 72 | 66 75 6c 2c 20 62 75 74 |ry power|ful, but|
|00003f80| 20 74 6f 20 75 73 65 20 | 74 68 65 20 70 6f 77 65 | to use |the powe|
|00003f90| 72 20 69 74 20 69 73 20 | 6e 65 63 65 73 73 61 72 |r it is |necessar|
|00003fa0| 79 20 74 6f 20 75 73 65 | 20 61 6c 6c 20 73 6f 72 |y to use| all sor|
|00003fb0| 74 73 20 6f 66 20 68 6f | 6f 6b 73 2c 20 70 72 6f |ts of ho|oks, pro|
|00003fc0| 63 73 2c 20 73 70 65 63 | 69 61 6c 20 69 74 65 6d |cs, spec|ial item|
|00003fd0| 73 2c 20 61 6e 64 20 73 | 70 65 63 69 61 6c 20 63 |s, and s|pecial c|
|00003fe0| 61 6c 6c 69 6e 67 20 73 | 65 71 75 65 6e 63 65 73 |alling s|equences|
|00003ff0| 2e 20 41 73 20 65 78 70 | 65 63 74 65 64 2c 20 6f |. As exp|ected, o|
|00004000| 6e 6c 79 20 74 68 65 20 | 69 6e 74 65 72 66 61 63 |nly the |interfac|
|00004010| 65 73 20 74 6f 20 74 68 | 65 73 65 20 74 68 69 6e |es to th|ese thin|
|00004020| 67 73 20 61 72 65 20 64 | 65 73 63 72 69 62 65 64 |gs are d|escribed|
|00004030| 20 69 6e 20 49 6e 73 69 | 64 65 20 4d 61 63 69 6e | in Insi|de Macin|
|00004040| 74 6f 73 68 2e 20 54 68 | 65 20 73 65 71 75 65 6e |tosh. Th|e sequen|
|00004050| 63 65 20 6f 66 20 65 76 | 65 6e 74 73 20 69 73 20 |ce of ev|ents is |
|00004060| 74 68 65 20 63 6f 73 74 | 6c 79 20 70 61 72 74 2e |the cost|ly part.|
|00004070| 20 46 6f 72 20 61 6e 20 | 65 78 61 6d 70 6c 65 20 | For an |example |
|00004080| 6f 66 20 68 6f 77 20 74 | 6f 20 61 64 64 20 61 20 |of how t|o add a |
|00004090| 75 73 65 72 49 74 65 6d | 20 74 6f 20 61 20 64 69 |userItem| to a di|
|000040a0| 61 6c 6f 67 2c 20 65 78 | 61 6d 69 6e 65 20 54 42 |alog, ex|amine TB|
|000040b0| 20 32 37 20 2d 20 55 73 | 65 72 20 49 74 65 6d 73 | 27 - Us|er Items|
|000040c0| 20 69 6e 20 44 69 61 6c | 6f 67 73 2e 20 4e 6f 74 | in Dial|ogs. Not|
|000040d0| 65 20 74 68 61 74 20 69 | 74 20 69 73 20 6e 6f 74 |e that i|t is not|
|000040e0| 20 70 61 72 74 69 63 75 | 6c 61 72 6c 79 20 73 69 | particu|larly si|
|000040f0| 6d 70 6c 65 20 74 6f 20 | 75 6e 64 65 72 73 74 61 |mple to |understa|
|00004100| 6e 64 2e 20 43 6f 6e 74 | 72 61 73 74 20 74 68 61 |nd. Cont|rast tha|
|00004110| 74 20 77 69 74 68 20 74 | 68 65 20 46 69 6c 6c 52 |t with t|he FillR|
|00004120| 65 63 74 2f 46 72 61 6d | 65 52 65 63 74 20 63 61 |ect/Fram|eRect ca|
|00004130| 6c 6c 73 20 69 6e 20 74 | 68 65 20 63 6f 64 65 20 |lls in t|he code |
|00004140| 74 68 61 74 20 68 61 6e | 64 6c 65 73 20 75 70 64 |that han|dles upd|
|00004150| 61 74 65 20 65 76 65 6e | 74 73 20 69 6e 20 61 20 |ate even|ts in a |
|00004160| 6e 6f 72 6d 61 6c 20 77 | 69 6e 64 6f 77 2e 0d 54 |normal w|indow..T|
|00004170| 68 65 20 57 69 6e 64 6f | 77 20 4d 61 6e 61 67 65 |he Windo|w Manage|
|00004180| 72 20 69 73 20 6d 6f 72 | 65 20 70 6f 77 65 72 66 |r is mor|e powerf|
|00004190| 75 6c 20 74 68 61 6e 20 | 74 68 65 20 44 69 61 6c |ul than |the Dial|
|000041a0| 6f 67 20 4d 61 6e 61 67 | 65 72 2e 20 54 68 65 20 |og Manag|er. The |
|000041b0| 44 69 61 6c 6f 67 20 4d | 61 6e 61 67 65 72 20 75 |Dialog M|anager u|
|000041c0| 73 65 73 20 74 68 65 20 | 57 69 6e 64 6f 77 20 4d |ses the |Window M|
|000041d0| 61 6e 61 67 65 72 2e 20 | 54 68 65 20 57 69 6e 64 |anager. |The Wind|
|000041e0| 6f 77 20 4d 61 6e 61 67 | 65 72 20 69 73 20 6d 75 |ow Manag|er is mu|
|000041f0| 63 68 20 6d 6f 72 65 20 | 73 74 72 61 69 67 68 74 |ch more |straight|
|00004200| 66 6f 72 77 61 72 64 20 | 74 6f 20 75 73 65 20 73 |forward |to use s|
|00004210| 69 6e 63 65 20 69 74 20 | 66 6f 6c 6c 6f 77 73 20 |ince it |follows |
|00004220| 74 68 65 20 63 6f 6e 76 | 65 6e 74 69 6f 6e 61 6c |the conv|entional|
|00004230| 20 4d 61 63 69 6e 74 6f | 73 68 20 65 76 65 6e 74 | Macinto|sh event|
|00004240| 20 6d 6f 64 65 6c 2e 20 | 54 68 61 74 20 6d 6f 64 | model. |That mod|
|00004250| 65 6c 20 69 73 20 65 61 | 73 69 65 72 20 74 6f 20 |el is ea|sier to |
|00004260| 75 6e 64 65 72 73 74 61 | 6e 64 20 61 6e 64 20 65 |understa|nd and e|
|00004270| 61 73 69 65 72 20 74 6f | 20 65 78 74 65 6e 64 2e |asier to| extend.|
|00004280| 20 54 68 65 72 65 20 61 | 72 65 20 6d 6f 72 65 20 | There a|re more |
|00004290| 63 61 6c 6c 73 20 74 6f | 20 6d 61 6b 65 2c 20 62 |calls to| make, b|
|000042a0| 75 74 20 74 68 65 20 6f | 76 65 72 61 6c 6c 20 75 |ut the o|verall u|
|000042b0| 73 65 20 69 73 20 6d 75 | 63 68 20 73 69 6d 70 6c |se is mu|ch simpl|
|000042c0| 65 72 2e 20 54 68 65 72 | 65 20 61 72 65 20 76 65 |er. Ther|e are ve|
|000042d0| 72 79 20 66 65 77 20 73 | 70 65 63 69 61 6c 20 74 |ry few s|pecial t|
|000042e0| 72 69 63 6b 73 20 6e 65 | 65 64 65 64 20 74 6f 20 |ricks ne|eded to |
|000042f0| 6d 61 6b 65 20 61 6e 79 | 20 63 6f 6e 63 65 69 76 |make any| conceiv|
|00004300| 61 62 6c 65 20 69 6e 74 | 65 72 66 61 63 65 20 69 |able int|erface i|
|00004310| 6e 20 61 20 77 69 6e 64 | 6f 77 2e 0d 44 6f 6e d5 |n a wind|ow..Don.|
|00004320| 74 20 62 65 20 6c 75 72 | 65 64 20 69 6e 20 62 79 |t be lur|ed in by|
|00004330| 20 74 68 65 20 d2 70 6f | 77 65 72 66 75 6c d3 20 | the .po|werful. |
|00004340| 44 69 61 6c 6f 67 20 4d | 61 6e 61 67 65 72 20 63 |Dialog M|anager c|
|00004350| 61 6c 6c 73 2c 20 74 72 | 69 63 6b 79 20 68 6f 6f |alls, tr|icky hoo|
|00004360| 6b 73 2c 20 61 6e 64 20 | 66 69 6c 74 65 72 20 70 |ks, and |filter p|
|00004370| 72 6f 63 65 64 75 72 65 | 73 2e 20 54 68 65 20 44 |rocedure|s. The D|
|00004380| 69 61 6c 6f 67 20 4d 61 | 6e 61 67 65 72 20 69 73 |ialog Ma|nager is|
|00004390| 20 6e 6f 74 20 61 20 75 | 73 65 72 20 69 6e 74 65 | not a u|ser inte|
|000043a0| 72 66 61 63 65 2e 0d 46 | 75 72 74 68 65 72 20 52 |rface..F|urther R|
|000043b0| 65 66 65 72 65 6e 63 65 | 3a 0d a5 09 54 68 65 20 |eference|:...The |
|000043c0| 52 65 73 6f 75 72 63 65 | 20 4d 61 6e 61 67 65 72 |Resource| Manager|
|000043d0| 0d a5 09 54 65 78 74 45 | 64 69 74 0d a5 09 54 68 |...TextE|dit...Th|
|000043e0| 65 20 4c 69 73 74 20 4d | 61 6e 61 67 65 72 0d a5 |e List M|anager..|
|000043f0| 09 54 68 65 20 44 69 61 | 6c 6f 67 20 4d 61 6e 61 |.The Dia|log Mana|
|00004400| 67 65 72 0d a5 09 54 65 | 63 68 6e 69 63 61 6c 20 |ger...Te|chnical |
|00004410| 4e 6f 74 65 20 54 42 20 | 31 38 20 2d 20 4d 61 78 |Note TB |18 - Max|
|00004420| 69 6d 75 6d 20 4e 75 6d | 62 65 72 20 6f 66 20 52 |imum Num|ber of R|
|00004430| 65 73 6f 75 72 63 65 73 | 20 69 6e 20 61 20 46 69 |esources| in a Fi|
|00004440| 6c 65 0d a5 09 54 65 63 | 68 6e 69 63 61 6c 20 4e |le...Tec|hnical N|
|00004450| 6f 74 65 20 54 42 20 32 | 37 20 2d 20 55 73 65 72 |ote TB 2|7 - User|
|00004460| 20 49 74 65 6d 73 20 69 | 6e 20 44 69 61 6c 6f 67 | Items i|n Dialog|
|00004470| 73 0d 19 0c 00 00 00 00 | 03 48 02 52 00 11 02 ff |s.......|.H.R....|
|00004480| 0c 00 ff ff ff ff 00 00 | 00 00 00 00 00 00 02 52 |........|.......R|
|00004490| 00 00 03 48 00 00 00 00 | 00 00 00 a0 00 82 00 1e |...H....|........|
|000044a0| 00 01 00 0a 00 2f 00 5a | 00 81 02 23 00 07 00 00 |...../.Z|...#....|
|000044b0| 00 00 00 08 00 0a 00 09 | 30 49 88 3a b5 9c f0 39 |........|0I.:...9|
|000044c0| 00 22 00 7b 02 1a 00 00 | 00 09 ff ff ff ff ff ff |.".{....|........|
|000044d0| ff ff 00 23 00 00 00 a0 | 00 c4 00 a1 00 64 00 0a |...#....|.....d..|
|000044e0| 4f 4e 4c 4e 00 66 00 00 | 01 fe 00 a0 00 8c 00 a1 |ONLN.f..|........|
|000044f0| 00 64 00 31 64 72 77 32 | 00 02 01 c9 00 2d 01 e1 |.d.1drw2|.....-..|
|00004500| 01 5f 00 00 80 00 00 00 | 00 00 00 00 00 00 00 00 |._......|........|
|00004510| 00 00 00 00 00 00 ff ff | ff ff ff ff 00 01 00 00 |........|........|
|00004520| 01 8f 00 00 00 00 00 a1 | 00 96 00 0c 01 00 00 00 |........|........|
|00004530| 02 78 00 00 00 00 00 00 | 00 a1 00 64 00 10 64 72 |.x......|...d..dr|
|00004540| 77 32 00 3a 00 05 00 00 | 00 00 00 01 00 00 00 a1 |w2.:....|........|
|00004550| 00 64 00 0e 64 72 77 32 | 00 3a 00 02 00 24 00 00 |.d..drw2|.:...$..|
|00004560| 00 00 00 a1 00 64 00 34 | 64 72 77 32 00 3a 00 01 |.....d.4|drw2.:..|
|00004570| 00 03 01 00 00 18 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 01 00 01 00 01 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00004590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 a1 00 9a |........|........|
|000045a0| 00 08 ff fa 00 00 00 97 | 40 00 00 a0 00 98 00 2c |........|@......,|
|000045b0| 00 08 00 14 05 54 69 6d | 65 73 00 03 00 14 00 04 |.....Tim|es......|
|000045c0| 01 00 00 0d 00 18 00 2e | 00 04 00 00 01 00 00 10 |........|........|
|000045d0| 00 52 01 c9 00 52 01 c9 | 00 2b 5d 42 13 4e 65 77 |.R...R..|.+]B.New|
|000045e0| 20 54 65 63 68 6e 69 63 | 61 6c 20 4e 6f 74 65 73 | Technic|al Notes|
|000045f0| 00 a0 00 99 00 a1 00 64 | 00 08 64 72 77 32 00 3a |.......d|..drw2.:|
|00004600| 00 04 00 a1 14 e3 00 02 | 00 01 00 a0 00 97 00 a1 |........|........|
|00004610| 00 64 00 31 64 72 77 32 | 00 02 02 06 01 65 02 19 |.d.1drw2|.....e..|
|00004620| 01 f4 00 00 80 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004630| 00 00 00 00 00 00 ff ff | ff ff ff ff 00 01 00 00 |........|........|
|00004640| 01 50 00 00 00 00 00 a1 | 00 96 00 0c 01 00 00 00 |.P......|........|
|00004650| 02 78 00 00 00 00 00 00 | 00 a1 00 64 00 10 64 72 |.x......|...d..dr|
|00004660| 77 32 00 3a 00 05 00 00 | 00 00 00 01 00 00 00 a1 |w2.:....|........|
|00004670| 00 64 00 0e 64 72 77 32 | 00 3a 00 02 00 24 00 00 |.d..drw2|.:...$..|
|00004680| 00 00 00 a1 00 64 00 34 | 64 72 77 32 00 3a 00 01 |.....d.4|drw2.:..|
|00004690| 00 03 00 00 00 12 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046a0| 00 01 00 01 00 01 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|000046b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 a1 00 9a |........|........|
|000046c0| 00 08 ff fb 80 00 00 45 | c0 00 00 a0 00 98 00 04 |.......E|........|
|000046d0| 00 00 00 0d 00 12 00 28 | 00 7b 01 95 11 44 65 76 |.......(|.{...Dev|
|000046e0| 65 6c 6f 70 65 72 20 53 | 75 70 70 6f 72 74 00 a0 |eloper S|upport..|
|000046f0| 00 99 00 a1 00 64 00 08 | 64 72 77 32 00 3a 00 04 |.....d..|drw2.:..|
|00004700| 00 a1 14 e3 00 02 00 01 | 00 a0 00 97 00 a1 00 64 |........|.......d|
|00004710| 00 60 64 72 77 32 00 03 | 02 00 00 2d 02 00 01 ef |.`drw2..|...-....|
|00004720| 00 00 00 00 00 00 00 00 | 02 02 00 00 00 00 00 00 |........|........|
|00004730| 00 00 00 00 ff ff ff ff | ff ff 00 01 00 01 08 4b |........|.......K|
|00004740| 00 00 00 00 02 00 01 ef | 02 00 00 2d 00 00 00 00 |........|...-....|
|00004750| 00 00 00 00 00 01 00 14 | 00 0c 00 03 00 02 00 00 |........|........|
|00004760| 00 5a 00 01 00 00 00 02 | 00 00 00 03 00 0c 00 00 |.Z......|........|
|00004770| 00 00 00 07 00 02 00 02 | 00 08 00 08 00 20 00 66 |........|..... .f|
|00004780| 02 1c 00 66 00 5a 00 a1 | 00 64 00 31 64 72 77 32 |...f.Z..|.d.1drw2|
|00004790| 00 02 01 ca 01 c0 01 fa | 01 e9 00 00 00 00 00 00 |........|........|
|000047a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|000047b0| ff ff ff ff 00 01 00 00 | 01 4b 00 00 00 00 00 a1 |........|.K......|
|000047c0| 00 96 00 0c 01 00 00 00 | 02 78 00 00 00 00 00 00 |........|.x......|
|000047d0| 00 a1 00 64 00 10 64 72 | 77 32 00 3a 00 05 00 00 |...d..dr|w2.:....|
|000047e0| 00 00 00 01 00 00 00 a1 | 00 64 00 0e 64 72 77 32 |........|.d..drw2|
|000047f0| 00 3a 00 02 00 24 00 00 | 00 00 00 a1 00 64 00 34 |.:...$..|.....d.4|
|00004800| 64 72 77 32 00 3a 00 01 | 00 03 00 00 00 30 00 00 |drw2.:..|.....0..|
|00004810| 00 00 00 00 00 00 00 00 | 00 01 00 01 00 01 00 01 |........|........|
|00004820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004830| 00 00 00 00 00 a1 00 9a | 00 08 ff f4 00 00 00 13 |........|........|
|00004840| 80 00 00 a0 00 98 00 0d | 00 30 00 28 00 55 01 ef |........|.0.(.U..|
|00004850| 01 f0 00 a0 00 99 00 a1 | 00 64 00 08 64 72 77 32 |........|.d..drw2|
|00004860| 00 3a 00 04 00 a1 14 e3 | 00 02 00 01 00 a0 00 97 |.:......|........|
|00004870| 00 a1 00 64 00 31 64 72 | 77 32 00 02 01 ef 01 e6 |...d.1dr|w2......|
|00004880| 01 fa 01 f0 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004890| 00 00 00 00 00 00 00 00 | ff ff ff ff ff ff 00 01 |........|........|
|000048a0| 00 00 01 00 00 00 00 00 | 00 a1 00 96 00 0c 01 00 |........|........|
|000048b0| 00 00 02 78 00 00 00 00 | 00 00 00 a1 00 64 00 10 |...x....|.....d..|
|000048c0| 64 72 77 32 00 3a 00 05 | 00 00 00 00 00 01 00 00 |drw2.:..|........|
|000048d0| 00 a1 00 64 00 0e 64 72 | 77 32 00 3a 00 02 00 24 |...d..dr|w2.:...$|
|000048e0| 00 00 00 00 00 a1 00 64 | 00 34 64 72 77 32 00 3a |.......d|.4drw2.:|
|000048f0| 00 01 00 03 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00004900| 00 00 00 01 00 01 00 01 | 00 01 00 00 00 00 00 00 |........|........|
|00004910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 a1 |........|........|
|00004920| 00 9a 00 08 ff fd 80 00 | 00 04 00 00 00 a0 00 98 |........|........|
|00004930| 00 0d 00 09 00 2b 26 09 | 01 a8 00 a0 00 99 00 a1 |.....+&.|........|
|00004940| 00 64 00 08 64 72 77 32 | 00 3a 00 04 00 a1 14 e3 |.d..drw2|.:......|
|00004950| 00 02 00 01 00 a0 00 97 | 00 a1 00 64 00 31 64 72 |........|...d.1dr|
|00004960| 77 32 00 02 01 e5 00 2d | 01 f8 00 79 00 00 00 00 |w2.....-|...y....|
|00004970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004980| ff ff ff ff ff ff 00 01 | 00 01 01 00 00 00 01 00 |........|........|
|00004990| 00 a1 00 96 00 0c 01 00 | 00 00 02 78 00 00 00 00 |........|...x....|
|000049a0| 00 00 00 a1 00 64 00 10 | 64 72 77 32 00 3a 00 05 |.....d..|drw2.:..|
|000049b0| 00 00 00 00 00 01 00 00 | 00 a1 00 64 00 0e 64 72 |........|...d..dr|
|000049c0| 77 32 00 3a 00 02 00 24 | 00 00 00 00 00 a1 00 64 |w2.:...$|.......d|
|000049d0| 00 34 64 72 77 32 00 3a | 00 01 00 03 00 00 00 12 |.4drw2.:|........|
|000049e0| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 01 00 01 |........|........|
|000049f0| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a00| 00 00 00 00 00 00 00 a1 | 00 9a 00 08 ff fb 80 00 |........|........|
|00004a10| 00 25 00 00 00 a0 00 98 | 00 0d 00 12 00 28 00 5a |.%......|.....(.Z|
|00004a20| 00 5c 09 4d 61 63 69 6e | 74 6f 73 68 00 a0 00 99 |.\.Macin|tosh....|
|00004a30| 00 a1 00 64 00 08 64 72 | 77 32 00 3a 00 04 00 a1 |...d..dr|w2.:....|
|00004a40| 14 e3 00 02 00 01 00 a0 | 00 97 00 a0 00 8d 00 a1 |........|........|
|00004a50| 00 64 00 06 64 72 77 32 | 00 44 00 a0 00 83 00 01 |.d..drw2|.D......|
|00004a60| 00 0a 00 00 00 00 03 48 | 02 52 00 04 01 00 00 2e |.......H|.R......|
|00004a70| 00 04 00 00 00 00 00 10 | 00 01 00 01 00 01 00 01 |........|........|
|00004a80| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 00 00 8d |...d..ON|LN.d....|
|00004a90| 00 5a 00 a0 01 2e 00 28 | 00 9b 00 5a 17 4f 56 20 |.Z.....(|...Z.OV |
|00004aa0| 38 20 2d 20 4d 61 6e 61 | 67 65 72 69 61 6c 20 41 |8 - Mana|gerial A|
|00004ab0| 62 75 73 65 00 0d 00 0e | 00 a1 00 64 00 10 4f 4e |buse....|...d..ON|
|00004ac0| 4c 4e 00 64 00 18 00 9f | 00 5a 00 ae 00 9a 00 2a |LN.d....|.Z.....*|
|00004ad0| 10 08 4f 76 65 72 76 69 | 65 77 00 04 00 00 00 0d |..Overvi|ew......|
|00004ae0| 00 0c 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 22 |.....d..|ONLN.d."|
|00004af0| 00 ba 00 5a 00 c6 00 8f | 00 2a 18 0b 57 72 69 74 |...Z....|.*..Writ|
|00004b00| 74 65 6e 20 62 79 3a 00 | 00 a1 00 64 00 10 4f 4e |ten by:.|...d..ON|
|00004b10| 4c 4e 00 64 00 2e 00 ba | 00 a2 00 c6 00 e7 00 29 |LN.d....|.......)|
|00004b20| 48 0c 42 6f 33 62 20 4a | 6f 68 6e 73 6f 6e 00 a1 |H.Bo3b J|ohnson..|
|00004b30| 00 64 00 10 4f 4e 4c 4e | 00 64 00 3b 00 ba 01 df |.d..ONLN|.d.;....|
|00004b40| 00 c6 02 1c 00 28 00 c3 | 01 df 0b 41 75 67 75 73 |.....(..|...Augus|
|00004b50| 74 20 31 39 38 38 00 a1 | 00 64 00 10 4f 4e 4c 4e |t 1988..|.d..ONLN|
|00004b60| 00 64 00 47 00 d2 00 5a | 00 de 01 b7 00 28 00 db |.d.G...Z|.....(..|
|00004b70| 00 5a 49 57 68 65 6e 20 | 75 73 69 6e 67 20 74 68 |.ZIWhen |using th|
|00004b80| 65 20 76 61 72 69 6f 75 | 73 20 70 69 65 63 65 73 |e variou|s pieces|
|00004b90| 20 6f 66 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 | of the |Macintos|
|00004ba0| 68 20 6f 70 65 72 61 74 | 69 6e 67 20 73 79 73 74 |h operat|ing syst|
|00004bb0| 65 6d 20 74 68 65 72 65 | 20 69 73 20 00 06 00 01 |em there| is ....|
|00004bc0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 90 |.....d..|ONLN.d..|
|00004bd0| 00 d2 01 b7 00 de 02 1c | 00 28 00 db 01 b7 16 61 |........|.(.....a|
|00004be0| 20 74 65 6d 70 74 61 74 | 69 6f 6e 20 74 6f 20 74 | temptat|ion to t|
|00004bf0| 72 79 20 74 6f 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |ry to...|.d..ONLN|
|00004c00| 00 64 00 a7 00 de 00 5a | 00 ea 01 e7 00 28 00 e7 |.d.....Z|.....(..|
|00004c10| 00 5a 52 73 74 72 65 74 | 63 68 20 74 68 65 20 62 |.ZRstret|ch the b|
|00004c20| 75 69 6c 74 2d 69 6e 20 | 4d 61 6e 61 67 65 72 73 |uilt-in |Managers|
|00004c30| 20 74 6f 6f 20 66 61 72 | 2e 20 44 65 76 65 6c 6f | too far|. Develo|
|00004c40| 70 65 72 73 20 73 68 6f | 75 6c 64 20 62 65 20 61 |pers sho|uld be a|
|00004c50| 77 61 72 65 20 6f 66 20 | 74 68 65 20 69 6e 74 65 |ware of |the inte|
|00004c60| 6e 64 65 64 20 00 00 06 | 00 02 00 00 00 a1 00 64 |nded ...|.......d|
|00004c70| 00 10 4f 4e 4c 4e 00 64 | 00 f9 00 de 01 e7 00 ea |..ONLN.d|........|
|00004c80| 02 1c 00 28 00 e7 01 e7 | 0a 70 75 72 70 6f 73 65 |...(....|.purpose|
|00004c90| 20 6f 66 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 | of....d|..ONLN.d|
|00004ca0| 01 04 00 ea 00 5a 00 f6 | 01 e3 00 28 00 f3 00 5a |.....Z..|...(...Z|
|00004cb0| 4c 74 68 65 20 76 61 72 | 69 6f 75 73 20 4d 61 6e |Lthe var|ious Man|
|00004cc0| 61 67 65 72 73 20 61 6e | 64 20 62 65 77 61 72 65 |agers an|d beware|
|00004cd0| 20 6f 66 20 75 73 69 6e | 67 20 74 68 65 6d 20 66 | of usin|g them f|
|00004ce0| 6f 72 20 74 68 69 6e 67 | 73 20 74 68 61 74 20 74 |or thing|s that t|
|00004cf0| 68 65 79 20 77 65 72 65 | 20 6e 6f 74 20 00 00 06 |hey were| not ...|
|00004d00| 00 03 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004d10| 01 50 00 ea 01 e3 00 f6 | 02 1c 00 28 00 f3 01 e3 |.P......|...(....|
|00004d20| 0b 64 65 73 69 67 6e 65 | 64 20 74 6f 00 06 00 00 |.designe|d to....|
|00004d30| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 5c |.....d..|ONLN.d.\|
|00004d40| 00 f6 00 5a 01 02 01 e9 | 00 28 00 ff 00 5a 52 68 |...Z....|.(...ZRh|
|00004d50| 61 6e 64 6c 65 2e 20 49 | 66 20 65 78 74 65 6e 64 |andle. I|f extend|
|00004d60| 65 64 20 62 65 79 6f 6e | 64 20 74 68 65 69 72 20 |ed beyon|d their |
|00004d70| 64 65 73 69 67 6e 20 67 | 6f 61 6c 73 2c 20 74 68 |design g|oals, th|
|00004d80| 65 79 20 77 69 6c 6c 20 | 62 65 63 6f 6d 65 20 73 |ey will |become s|
|00004d90| 6c 6f 77 20 61 6e 64 20 | 75 6e 77 69 65 6c 64 79 |low and |unwieldy|
|00004da0| 2e 00 00 07 00 01 00 01 | 00 20 01 0e 00 58 01 0e |........|. ...X..|
|00004db0| 02 1d 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 af |.....d..|ONLN.d..|
|00004dc0| 01 1b 00 5a 01 27 01 47 | 00 2a 25 31 4d 61 6e 61 |...Z.'.G|.*%1Mana|
|00004dd0| 67 65 72 73 20 74 6f 20 | 61 76 6f 69 64 20 61 62 |gers to |avoid ab|
|00004de0| 75 73 69 6e 67 2c 20 61 | 6e 64 20 74 68 65 20 74 |using, a|nd the t|
|00004df0| 79 70 65 20 6f 66 20 61 | 62 75 73 65 3a 00 00 a1 |ype of a|buse:...|
|00004e00| 00 64 00 10 4f 4e 4c 4e | 00 64 01 e1 01 33 00 5a |.d..ONLN|.d...3.Z|
|00004e10| 01 3f 00 64 00 2a 18 02 | 31 29 00 a1 00 64 00 10 |.?.d.*..|1)...d..|
|00004e20| 4f 4e 4c 4e 00 64 01 e4 | 01 33 00 7e 01 3f 00 f9 |ONLN.d..|.3.~.?..|
|00004e30| 00 29 24 18 54 68 65 20 | 52 65 73 6f 75 72 63 65 |.)$.The |Resource|
|00004e40| 20 4d 61 6e 61 67 65 72 | 20 69 73 20 00 04 01 00 | Manager| is ....|
|00004e50| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 fc 01 33 |...d..ON|LN.d...3|
|00004e60| 00 f9 01 3f 01 0b 00 29 | 7b 03 6e 6f 74 00 00 04 |...?...)|{.not...|
|00004e70| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 ff |.....d..|ONLN.d..|
|00004e80| 01 33 01 0b 01 3f 01 42 | 00 29 12 0c 20 61 20 64 |.3...?.B|.).. a d|
|00004e90| 61 74 61 62 61 73 65 2e | 00 a1 00 64 00 10 4f 4e |atabase.|...d..ON|
|00004ea0| 4c 4e 00 64 02 0c 01 3f | 00 5a 01 4b 00 64 00 28 |LN.d...?|.Z.K.d.(|
|00004eb0| 01 48 00 5a 02 32 29 00 | 00 a1 00 64 00 10 4f 4e |.H.Z.2).|...d..ON|
|00004ec0| 4c 4e 00 64 02 0f 01 3f | 00 7e 01 4b 00 f2 00 29 |LN.d...?|.~.K...)|
|00004ed0| 24 18 54 68 65 20 54 65 | 78 74 45 64 69 74 20 70 |$.The Te|xtEdit p|
|00004ee0| 61 63 6b 61 67 65 20 69 | 73 20 00 04 01 00 00 a1 |ackage i|s ......|
|00004ef0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 27 01 3f 00 f2 |.d..ONLN|.d.'.?..|
|00004f00| 01 4b 01 04 00 29 74 03 | 6e 6f 74 00 00 04 00 00 |.K...)t.|not.....|
|00004f10| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 2a 01 3f |...d..ON|LN.d.*.?|
|00004f20| 01 04 01 4b 01 5d 00 29 | 12 12 20 61 20 77 6f 72 |...K.].)|.. a wor|
|00004f30| 64 20 70 72 6f 63 65 73 | 73 6f 72 2e 00 a1 00 64 |d proces|sor....d|
|00004f40| 00 10 4f 4e 4c 4e 00 64 | 02 3d 01 4b 00 5a 01 57 |..ONLN.d|.=.K.Z.W|
|00004f50| 00 64 00 28 01 54 00 5a | 02 33 29 00 00 a1 00 64 |.d.(.T.Z|.3)....d|
|00004f60| 00 10 4f 4e 4c 4e 00 64 | 02 40 01 4b 00 7e 01 57 |..ONLN.d|.@.K.~.W|
|00004f70| 00 df 00 29 24 14 54 68 | 65 20 4c 69 73 74 20 4d |...)$.Th|e List M|
|00004f80| 61 6e 61 67 65 72 20 69 | 73 20 00 04 01 00 00 a1 |anager i|s ......|
|00004f90| 00 64 00 10 4f 4e 4c 4e | 00 64 02 54 01 4b 00 df |.d..ONLN|.d.T.K..|
|00004fa0| 01 57 00 f1 00 29 61 03 | 6e 6f 74 00 00 04 00 00 |.W...)a.|not.....|
|00004fb0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 57 01 4b |...d..ON|LN.d.W.K|
|00004fc0| 00 f1 01 57 01 37 00 29 | 12 0f 20 61 20 73 70 72 |...W.7.)|.. a spr|
|00004fd0| 65 61 64 73 68 65 65 74 | 2e 00 00 a1 00 64 00 10 |eadsheet|.....d..|
|00004fe0| 4f 4e 4c 4e 00 64 02 67 | 01 57 00 5a 01 63 00 64 |ONLN.d.g|.W.Z.c.d|
|00004ff0| 00 28 01 60 00 5a 02 34 | 29 00 00 a1 00 64 00 10 |.(.`.Z.4|)....d..|
|00005000| 4f 4e 4c 4e 00 64 02 6a | 01 57 00 7e 01 63 00 ec |ONLN.d.j|.W.~.c..|
|00005010| 00 29 24 16 54 68 65 20 | 44 69 61 6c 6f 67 20 4d |.)$.The |Dialog M|
|00005020| 61 6e 61 67 65 72 20 69 | 73 20 00 04 01 00 00 a1 |anager i|s ......|
|00005030| 00 64 00 10 4f 4e 4c 4e | 00 64 02 80 01 57 00 ec |.d..ONLN|.d...W..|
|00005040| 01 63 00 fe 00 29 6e 03 | 6e 6f 74 00 00 04 00 00 |.c...)n.|not.....|
|00005050| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 83 01 57 |...d..ON|LN.d...W|
|00005060| 00 fe 01 63 01 4c 00 29 | 12 12 20 61 20 75 73 65 |...c.L.)|.. a use|
|00005070| 72 20 69 6e 74 65 72 66 | 61 63 65 2e 00 04 01 00 |r interf|ace.....|
|00005080| 00 0d 00 0e 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005090| 02 96 01 81 00 5a 01 90 | 00 c9 00 28 01 8d 00 5a |.....Z..|...(...Z|
|000050a0| 10 4e 6f 20 66 72 65 65 | 20 64 61 74 61 62 61 73 |.No free| databas|
|000050b0| 65 00 00 04 00 00 00 0d | 00 0c 00 06 00 02 00 00 |e.......|........|
|000050c0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 a7 01 9c |...d..ON|LN.d....|
|000050d0| 00 5a 01 a8 01 ed 00 2a | 18 50 41 66 74 65 72 20 |.Z.....*|.PAfter |
|000050e0| 75 73 69 6e 67 20 74 68 | 65 20 52 65 73 6f 75 72 |using th|e Resour|
|000050f0| 63 65 20 4d 61 6e 61 67 | 65 72 20 66 6f 72 20 61 |ce Manag|er for a|
|00005100| 20 73 68 6f 72 74 20 74 | 69 6d 65 2c 20 69 74 73 | short t|ime, its|
|00005110| 20 76 69 72 74 75 65 73 | 20 62 65 63 6f 6d 65 20 | virtues| become |
|00005120| 61 70 70 61 72 65 6e 74 | 3a 20 00 06 00 03 00 00 |apparent|: ......|
|00005130| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 f7 01 9c |...d..ON|LN.d....|
|00005140| 01 ed 01 a8 02 1c 00 28 | 01 a5 01 ed 0a 69 74 20 |.......(|.....it |
|00005150| 69 73 20 76 65 72 79 00 | 00 06 00 00 00 00 00 a1 |is very.|........|
|00005160| 00 64 00 10 4f 4e 4c 4e | 00 64 03 02 01 a8 00 5a |.d..ONLN|.d.....Z|
|00005170| 01 b4 00 98 00 28 01 b1 | 00 5a 10 66 6c 65 78 69 |.....(..|.Z.flexi|
|00005180| 62 6c 65 2c 20 69 74 20 | 69 73 20 00 00 06 00 01 |ble, it |is .....|
|00005190| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 12 |.....d..|ONLN.d..|
|000051a0| 01 a8 00 98 01 b4 02 1c | 00 29 3e 52 65 61 73 79 |........|.)>Reasy|
|000051b0| 20 74 6f 20 75 73 65 2c | 20 69 74 20 67 69 76 65 | to use,| it give|
|000051c0| 73 20 64 69 73 6b 20 62 | 61 73 65 64 20 49 2f 4f |s disk b|ased I/O|
|000051d0| 20 77 69 74 68 20 6e 6f | 20 65 78 74 72 61 20 63 | with no| extra c|
|000051e0| 61 6c 6c 73 2c 20 64 61 | 74 61 20 63 61 6e 20 62 |alls, da|ta can b|
|000051f0| 65 20 65 78 74 72 61 63 | 74 65 64 20 62 79 00 06 |e extrac|ted by..|
|00005200| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005210| 03 65 01 b4 00 5a 01 c0 | 01 9f 00 28 01 bd 00 5a |.e...Z..|...(...Z|
|00005220| 46 65 69 74 68 65 72 20 | 6e 61 6d 65 20 6f 72 20 |Feither |name or |
|00005230| 49 44 20 6e 75 6d 62 65 | 72 2c 20 61 6e 64 20 74 |ID numbe|r, and t|
|00005240| 68 65 20 64 61 74 61 20 | 69 73 20 73 74 6f 72 65 |he data |is store|
|00005250| 64 20 74 72 61 6e 73 70 | 61 72 65 6e 74 6c 79 20 |d transp|arently |
|00005260| 73 6f 20 74 68 65 20 00 | 00 06 00 01 00 00 00 a1 |so the .|........|
|00005270| 00 64 00 10 4f 4e 4c 4e | 00 64 03 ab 01 b4 01 9f |.d..ONLN|.d......|
|00005280| 01 c0 02 1c 00 28 01 bd | 01 9f 1b 63 61 6c 6c 65 |.....(..|...calle|
|00005290| 72 20 63 61 6e 20 70 72 | 65 74 65 6e 64 20 74 68 |r can pr|etend th|
|000052a0| 65 20 64 61 74 61 00 06 | 00 00 00 00 00 a1 00 64 |e data..|.......d|
|000052b0| 00 10 4f 4e 4c 4e 00 64 | 03 c7 01 c0 00 5a 01 cc |..ONLN.d|.....Z..|
|000052c0| 00 ea 00 28 01 c9 00 5a | 21 69 73 20 61 6c 77 61 |...(...Z|!is alwa|
|000052d0| 79 73 20 61 76 61 69 6c | 61 62 6c 65 20 69 6e 20 |ys avail|able in |
|000052e0| 61 20 76 69 72 74 75 61 | 6c 20 00 06 00 01 00 00 |a virtua|l ......|
|000052f0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 e8 01 c0 |...d..ON|LN.d....|
|00005300| 00 ea 01 cc 02 1c 00 29 | 90 3b 6d 65 6d 6f 72 79 |.......)|.;memory|
|00005310| 20 66 61 73 68 69 6f 6e | 2e 20 57 69 74 68 20 73 | fashion|. With s|
|00005320| 75 63 68 20 77 69 64 65 | 20 72 61 6e 67 69 6e 67 |uch wide| ranging|
|00005330| 20 61 64 76 61 6e 74 61 | 67 65 73 2c 20 69 74 20 | advanta|ges, it |
|00005340| 77 6f 75 6c 64 00 00 06 | 00 00 00 00 00 a1 00 64 |would...|.......d|
|00005350| 00 10 4f 4e 4c 4e 00 64 | 04 24 01 cc 00 5a 01 d8 |..ONLN.d|.$...Z..|
|00005360| 00 c9 00 28 01 d5 00 5a | 17 73 65 65 6d 20 74 68 |...(...Z|.seem th|
|00005370| 61 74 20 74 68 65 20 52 | 65 73 6f 75 72 63 65 20 |at the R|esource |
|00005380| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005390| 00 64 04 3b 01 cc 00 c9 | 01 d8 02 1c 00 29 6f 45 |.d.;....|.....)oE|
|000053a0| 4d 61 6e 61 67 65 72 20 | 73 68 6f 75 6c 64 20 62 |Manager |should b|
|000053b0| 65 20 75 73 65 64 20 66 | 6f 72 20 65 76 65 72 79 |e used f|or every|
|000053c0| 74 68 69 6e 67 2e 20 49 | 74 20 73 68 6f 75 6c 64 |thing. I|t should|
|000053d0| 20 62 65 20 61 70 70 61 | 72 65 6e 74 20 74 68 61 | be appa|rent tha|
|000053e0| 74 20 74 68 65 00 00 06 | 00 02 00 00 00 a1 00 64 |t the...|.......d|
|000053f0| 00 10 4f 4e 4c 4e 00 64 | 04 81 01 d8 00 5a 01 e4 |..ONLN.d|.....Z..|
|00005400| 00 e4 00 28 01 e1 00 5a | 17 54 41 4e 53 54 41 41 |...(...Z|.TANSTAA|
|00005410| 46 4c 20 28 54 68 65 72 | 65 20 41 69 6e d5 74 20 |FL (Ther|e Ain.t |
|00005420| 00 06 00 03 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005430| 00 64 04 98 01 d8 00 e4 | 01 e4 02 1c 00 29 8a 38 |.d......|.....).8|
|00005440| 4e 6f 20 53 75 63 68 20 | 54 68 69 6e 67 20 41 73 |No Such |Thing As|
|00005450| 20 41 20 46 72 65 65 20 | 4c 75 6e 63 68 29 20 70 | A Free |Lunch) p|
|00005460| 68 69 6c 6f 73 6f 70 68 | 79 20 61 70 70 6c 69 65 |hilosoph|y applie|
|00005470| 73 20 74 6f 20 74 68 65 | 00 06 00 02 00 00 00 a1 |s to the|........|
|00005480| 00 64 00 10 4f 4e 4c 4e | 00 64 04 d1 01 e4 00 5a |.d..ONLN|.d.....Z|
|00005490| 01 f0 01 ac 00 28 01 ed | 00 5a 40 52 65 73 6f 75 |.....(..|.Z@Resou|
|000054a0| 72 63 65 20 4d 61 6e 61 | 67 65 72 20 61 73 20 77 |rce Mana|ger as w|
|000054b0| 65 6c 6c 2e 20 49 66 20 | 6f 76 65 72 65 78 74 65 |ell. If |overexte|
|000054c0| 6e 64 65 64 2c 20 74 68 | 65 20 52 65 73 6f 75 72 |nded, th|e Resour|
|000054d0| 63 65 20 4d 61 6e 61 67 | 65 72 20 00 00 06 00 03 |ce Manag|er .....|
|000054e0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 11 |.....d..|ONLN.d..|
|000054f0| 01 e4 01 ac 01 f0 02 1c | 00 28 01 ed 01 ac 14 77 |........|.(.....w|
|00005500| 69 6c 6c 20 62 65 63 6f | 6d 65 20 73 6c 6f 77 20 |ill beco|me slow |
|00005510| 61 6e 64 00 00 06 00 00 | 00 00 00 a1 00 64 00 10 |and.....|.....d..|
|00005520| 4f 4e 4c 4e 00 64 05 26 | 01 f0 00 5a 01 fc 00 88 |ONLN.d.&|...Z....|
|00005530| 00 28 01 f9 00 5a 09 75 | 6e 75 73 61 62 6c 65 2e |.(...Z.u|nusable.|
|00005540| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 30 02 08 |...d..ON|LN.d.0..|
|00005550| 00 5a 02 14 00 e7 00 2a | 18 1c 54 68 65 20 52 65 |.Z.....*|..The Re|
|00005560| 73 6f 75 72 63 65 20 4d | 61 6e 61 67 65 72 20 69 |source M|anager i|
|00005570| 73 20 6e 6f 74 20 00 06 | 00 01 00 00 00 a1 00 64 |s not ..|.......d|
|00005580| 00 10 4f 4e 4c 4e 00 64 | 05 4c 02 08 00 e7 02 14 |..ONLN.d|.L......|
|00005590| 02 1c 00 29 8d 41 61 20 | 64 61 74 61 62 61 73 65 |...).Aa |database|
|000055a0| 2c 20 6e 6f 72 20 69 73 | 20 69 74 20 61 20 67 6f |, nor is| it a go|
|000055b0| 6f 64 20 77 61 79 20 74 | 6f 20 73 74 6f 72 65 20 |od way t|o store |
|000055c0| 75 73 65 72 20 64 61 74 | 61 2e 20 20 41 6c 74 68 |user dat|a. Alth|
|000055d0| 6f 75 67 68 20 69 74 00 | 00 06 00 00 00 00 00 a1 |ough it.|........|
|000055e0| 00 64 00 10 4f 4e 4c 4e | 00 64 05 8e 02 14 00 5a |.d..ONLN|.d.....Z|
|000055f0| 02 20 01 59 00 28 02 1d | 00 5a 36 63 61 6e 20 62 |. .Y.(..|.Z6can b|
|00005600| 65 20 75 73 65 64 20 74 | 6f 20 73 74 6f 72 65 20 |e used t|o store |
|00005610| 76 65 72 79 20 73 6d 61 | 6c 6c 20 61 6d 6f 75 6e |very sma|ll amoun|
|00005620| 74 73 20 6f 66 20 64 61 | 74 61 2c 20 73 75 63 68 |ts of da|ta, such|
|00005630| 20 00 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|00005640| 4c 4e 00 64 05 c4 02 14 | 01 59 02 20 02 1c 00 29 |LN.d....|.Y. ...)|
|00005650| ff 28 61 73 20 63 6f 6e | 66 69 67 75 72 61 74 69 |.(as con|figurati|
|00005660| 6f 6e 20 64 61 74 61 2c | 20 61 6e 64 20 66 65 61 |on data,| and fea|
|00005670| 74 75 72 65 73 20 73 6f | 6d 65 00 06 00 00 00 00 |tures so|me......|
|00005680| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 ed 02 20 |...d..ON|LN.d... |
|00005690| 00 5a 02 2c 00 93 00 28 | 02 29 00 5a 0c 6f 66 20 |.Z.,...(|.).Z.of |
|000056a0| 74 68 65 20 73 61 6d 65 | 20 00 00 06 00 01 00 00 |the same| .......|
|000056b0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 f9 02 20 |...d..ON|LN.d... |
|000056c0| 00 93 02 2c 02 1c 00 29 | 39 53 63 68 61 72 61 63 |...,...)|9Scharac|
|000056d0| 74 65 72 69 73 74 69 63 | 73 20 6f 66 20 64 61 74 |teristic|s of dat|
|000056e0| 61 62 61 73 65 73 20 69 | 6e 20 67 65 6e 65 72 61 |abases i|n genera|
|000056f0| 6c 2c 20 74 68 65 20 52 | 65 73 6f 75 72 63 65 20 |l, the R|esource |
|00005700| 4d 61 6e 61 67 65 72 20 | 69 73 20 61 20 73 70 65 |Manager |is a spe|
|00005710| 63 69 61 6c 69 7a 65 64 | 20 74 6f 6f 6c 00 00 06 |cialized| tool...|
|00005720| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005730| 06 4d 02 2c 00 5a 02 38 | 00 87 00 28 02 35 00 5a |.M.,.Z.8|...(.5.Z|
|00005740| 09 64 65 73 69 67 6e 65 | 64 20 00 06 00 01 00 00 |.designe|d ......|
|00005750| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 56 02 2c |...d..ON|LN.d.V.,|
|00005760| 00 87 02 38 02 1c 00 29 | 2d 55 73 70 65 63 69 66 |...8...)|-Uspecif|
|00005770| 69 63 61 6c 6c 79 20 66 | 6f 72 20 74 68 65 20 74 |ically f|or the t|
|00005780| 79 70 65 73 20 6f 66 20 | 74 68 69 6e 67 73 20 74 |ypes of |things t|
|00005790| 68 61 74 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 |hat the |Macintos|
|000057a0| 68 20 53 79 73 74 65 6d | 20 6e 65 65 64 73 2e 20 |h System| needs. |
|000057b0| 49 74 73 20 6d 61 69 6e | 20 76 69 72 74 75 65 00 |Its main| virtue.|
|000057c0| 00 06 00 00 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000057d0| 00 64 06 ac 02 38 00 5a | 02 44 01 4a 00 28 02 41 |.d...8.Z|.D.J.(.A|
|000057e0| 00 5a 36 66 6f 72 20 73 | 79 73 74 65 6d 20 75 73 |.Z6for s|ystem us|
|000057f0| 65 20 69 73 20 74 68 61 | 74 20 61 20 6c 61 72 67 |e is tha|t a larg|
|00005800| 65 20 76 61 72 69 65 74 | 79 20 6f 66 20 64 61 74 |e variet|y of dat|
|00005810| 61 20 63 61 6e 20 62 65 | 20 00 00 06 00 01 00 00 |a can be| .......|
|00005820| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 e2 02 38 |...d..ON|LN.d...8|
|00005830| 01 4a 02 44 02 1c 00 29 | f0 29 73 74 6f 72 65 64 |.J.D...)|.)stored|
|00005840| 20 6f 6e 20 64 69 73 6b | 2c 20 61 6e 64 20 61 63 | on disk|, and ac|
|00005850| 63 65 73 73 65 64 20 77 | 68 65 6e 20 6e 65 65 64 |cessed w|hen need|
|00005860| 65 64 2e 00 00 06 00 00 | 00 00 00 a1 00 64 00 10 |ed......|.....d..|
|00005870| 4f 4e 4c 4e 00 64 07 0c | 02 44 00 5a 02 50 02 05 |ONLN.d..|.D.Z.P..|
|00005880| 00 28 02 4d 00 5a 58 54 | 68 69 73 20 69 73 20 61 |.(.M.ZXT|his is a|
|00005890| 20 70 72 69 6d 69 74 69 | 76 65 20 66 6f 72 6d 20 | primiti|ve form |
|000058a0| 6f 66 20 76 69 72 74 75 | 61 6c 20 6d 65 6d 6f 72 |of virtu|al memor|
|000058b0| 79 20 77 68 69 63 68 20 | 65 78 74 65 6e 64 73 20 |y which |extends |
|000058c0| 74 68 65 20 70 6f 77 65 | 72 20 6f 66 20 74 68 65 |the powe|r of the|
|000058d0| 20 73 79 73 74 65 6d 20 | 62 65 79 6f 6e 64 20 00 | system |beyond .|
|000058e0| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000058f0| 00 64 07 64 02 44 02 05 | 02 50 02 1c 00 28 02 4d |.d.d.D..|.P...(.M|
|00005900| 02 05 04 77 68 61 74 00 | 00 a1 00 64 00 10 4f 4e |...what.|...d..ON|
|00005910| 4c 4e 00 64 07 69 02 50 | 00 5a 02 5c 01 83 00 28 |LN.d.i.P|.Z.\...(|
|00005920| 02 59 00 5a 38 74 68 65 | 20 52 41 4d 20 73 75 70 |.Y.Z8the| RAM sup|
|00005930| 70 6c 69 65 73 2e 20 52 | 65 6d 65 6d 62 65 72 69 |plies. R|ememberi|
|00005940| 6e 67 20 74 68 61 74 20 | 74 68 65 20 52 65 73 6f |ng that |the Reso|
|00005950| 75 72 63 65 20 4d 61 6e | 61 67 65 72 20 00 00 06 |urce Man|ager ...|
|00005960| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005970| 07 a1 02 50 01 83 02 5c | 02 1c 00 28 02 59 01 83 |...P...\|...(.Y..|
|00005980| 1d 77 61 73 20 77 72 69 | 74 74 65 6e 20 69 6e 20 |.was wri|tten in |
|00005990| 61 6e 20 65 72 61 20 6f | 66 20 31 32 38 4b 00 06 |an era o|f 128K..|
|000059a0| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000059b0| 07 bf 02 5c 00 5a 02 68 | 01 d1 00 28 02 65 00 5a |...\.Z.h|...(.e.Z|
|000059c0| 51 52 41 4d 2c 20 69 74 | 20 73 68 6f 75 6c 64 20 |QRAM, it| should |
|000059d0| 62 65 20 61 70 70 61 72 | 65 6e 74 20 74 68 61 74 |be appar|ent that|
|000059e0| 20 69 74 20 69 73 20 6f | 70 74 69 6d 69 7a 65 64 | it is o|ptimized|
|000059f0| 20 74 6f 20 75 73 65 20 | 61 73 20 6c 69 74 74 6c | to use |as littl|
|00005a00| 65 20 52 41 4d 20 61 73 | 20 70 6f 73 73 69 62 6c |e RAM as| possibl|
|00005a10| 65 2e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 08 11 |e....d..|ONLN.d..|
|00005a20| 02 74 00 5a 02 80 01 e9 | 00 2a 18 56 54 68 65 20 |.t.Z....|.*.VThe |
|00005a30| 52 65 73 6f 75 72 63 65 | 20 4d 61 6e 61 67 65 72 |Resource| Manager|
|00005a40| 20 75 73 65 73 20 61 20 | 73 69 6d 70 6c 65 20 64 | uses a |simple d|
|00005a50| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 20 66 6f |ata stru|cture fo|
|00005a60| 72 20 61 63 63 65 73 73 | 69 6e 67 20 74 68 65 20 |r access|ing the |
|00005a70| 64 61 74 61 20 69 6e 20 | 74 68 65 20 66 69 6c 65 |data in |the file|
|00005a80| 2e 20 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |. ......|...d..ON|
|00005a90| 4c 4e 00 64 08 67 02 74 | 01 e9 02 80 02 1c 00 28 |LN.d.g.t|.......(|
|00005aa0| 02 7d 01 e9 09 45 78 61 | 6d 69 6e 69 6e 67 00 06 |.}...Exa|mining..|
|00005ab0| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005ac0| 08 71 02 80 00 5a 02 8c | 01 91 00 28 02 89 00 5a |.q...Z..|...(...Z|
|00005ad0| 40 74 68 65 20 52 65 73 | 6f 75 72 63 65 20 4d 61 |@the Res|ource Ma|
|00005ae0| 6e 61 67 65 72 20 66 69 | 6c 65 20 66 6f 72 6d 61 |nager fi|le forma|
|00005af0| 74 20 63 61 6e 20 73 68 | 6f 77 20 73 6f 6d 65 20 |t can sh|ow some |
|00005b00| 6f 66 20 74 68 65 20 74 | 72 61 64 65 6f 66 66 73 |of the t|radeoffs|
|00005b10| 20 00 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|00005b20| 4c 4e 00 64 08 b1 02 80 | 01 91 02 8c 02 1c 00 28 |LN.d....|.......(|
|00005b30| 02 89 01 91 1d 65 78 70 | 65 63 74 65 64 2e 20 46 |.....exp|ected. F|
|00005b40| 6f 72 20 69 6e 73 74 61 | 6e 63 65 2c 20 74 68 65 |or insta|nce, the|
|00005b50| 72 65 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 08 cf |re...d..|ONLN.d..|
|00005b60| 02 8c 00 5a 02 98 01 2e | 00 28 02 95 00 5a 2d 69 |...Z....|.(...Z-i|
|00005b70| 73 20 61 20 6c 69 6e 65 | 61 72 6c 79 20 61 63 63 |s a line|arly acc|
|00005b80| 65 73 73 65 64 20 74 61 | 62 6c 65 20 77 68 69 63 |essed ta|ble whic|
|00005b90| 68 20 64 65 73 63 72 69 | 62 65 73 20 00 06 00 02 |h descri|bes ....|
|00005ba0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 08 fc |.....d..|ONLN.d..|
|00005bb0| 02 8c 01 2e 02 98 02 1c | 00 29 d4 32 61 6c 6c 20 |........|.).2all |
|00005bc0| 6f 66 20 74 68 65 20 70 | 6f 73 73 69 62 6c 65 20 |of the p|ossible |
|00005bd0| 72 65 73 6f 75 72 63 65 | 20 74 79 70 65 73 20 74 |resource| types t|
|00005be0| 68 61 74 20 61 72 65 20 | 69 6e 20 74 68 65 00 a1 |hat are |in the..|
|00005bf0| 00 64 00 10 4f 4e 4c 4e | 00 64 09 2f 02 98 00 5a |.d..ONLN|.d./...Z|
|00005c00| 02 a4 01 4f 00 28 02 a1 | 00 5a 31 63 75 72 72 65 |...O.(..|.Z1curre|
|00005c10| 6e 74 20 66 69 6c 65 2e | 20 57 69 74 68 6f 75 74 |nt file.| Without|
|00005c20| 20 74 6f 6f 20 6d 75 63 | 68 20 74 68 6f 75 67 68 | too muc|h though|
|00005c30| 74 20 69 74 20 73 68 6f | 75 6c 64 20 00 06 00 03 |t it sho|uld ....|
|00005c40| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 09 60 |.....d..|ONLN.d.`|
|00005c50| 02 98 01 4f 02 a4 02 1c | 00 29 f5 2a 62 65 20 61 |...O....|.).*be a|
|00005c60| 70 70 61 72 65 6e 74 20 | 74 68 61 74 20 69 66 20 |pparent |that if |
|00005c70| 61 20 66 69 6c 65 20 69 | 73 20 63 72 65 61 74 65 |a file i|s create|
|00005c80| 64 20 77 69 74 68 00 06 | 00 00 00 00 00 a1 00 64 |d with..|.......d|
|00005c90| 00 10 4f 4e 4c 4e 00 64 | 09 8b 02 a4 00 5a 02 b0 |..ONLN.d|.....Z..|
|00005ca0| 01 50 00 28 02 ad 00 5a | 35 74 68 6f 75 73 61 6e |.P.(...Z|5thousan|
|00005cb0| 64 73 20 6f 66 20 64 69 | 66 66 65 72 65 6e 74 20 |ds of di|fferent |
|00005cc0| 72 65 73 6f 75 72 63 65 | 20 74 79 70 65 73 20 74 |resource| types t|
|00005cd0| 68 65 6e 20 61 63 63 65 | 73 73 20 74 6f 20 00 06 |hen acce|ss to ..|
|00005ce0| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005cf0| 09 c0 02 a4 01 50 02 b0 | 02 1c 00 29 f6 29 74 68 |.....P..|...).)th|
|00005d00| 6f 73 65 20 72 65 73 6f | 75 72 63 65 73 20 77 69 |ose reso|urces wi|
|00005d10| 6c 6c 20 62 65 20 73 6c | 6f 77 2e 20 54 68 65 20 |ll be sl|ow. The |
|00005d20| 72 65 61 73 6f 6e 3f 00 | 00 20 02 c0 00 58 02 c0 |reason?.|. ...X..|
|00005d30| 02 1d 00 0d 00 0a 00 06 | 00 00 00 00 00 28 02 d5 |........|.....(..|
|00005d40| 00 5a 17 4f 56 20 38 20 | 2d 20 4d 61 6e 61 67 65 |.Z.OV 8 |- Manage|
|00005d50| 72 69 61 6c 20 41 62 75 | 73 65 00 28 02 d5 02 04 |rial Abu|se.(....|
|00005d60| 01 31 00 29 05 05 20 6f | 66 20 36 00 00 28 02 eb |.1.).. o|f 6..(..|
|00005d70| 00 5a 08 4f 76 65 72 76 | 69 65 77 00 00 ff 00 a1 |.Z.Overv|iew.....|
|00005d80| 00 c0 01 f4 25 25 44 53 | 49 44 49 43 54 3a 5f 63 |....%%DS|IDICT:_c|
|00005d90| 76 0d 63 75 72 72 65 6e | 74 64 69 63 74 20 2f 62 |v.curren|tdict /b|
|00005da0| 75 20 6b 6e 6f 77 6e 20 | 7b 62 75 7d 69 66 0d 75 |u known |{bu}if.u|
|00005db0| 73 65 72 64 69 63 74 20 | 2f 5f 63 76 20 6b 6e 6f |serdict |/_cv kno|
|00005dc0| 77 6e 20 6e 6f 74 7b 75 | 73 65 72 64 69 63 74 20 |wn not{u|serdict |
|00005dd0| 2f 5f 63 76 20 33 30 20 | 64 69 63 74 20 70 75 74 |/_cv 30 |dict put|
|00005de0| 7d 69 66 0d 5f 63 76 20 | 62 65 67 69 6e 0d 2f 62 |}if._cv |begin./b|
|00005df0| 64 66 7b 62 69 6e 64 20 | 64 65 66 7d 62 69 6e 64 |df{bind |def}bind|
|00005e00| 20 64 65 66 0d 63 75 72 | 72 65 6e 74 73 63 72 65 | def.cur|rentscre|
|00005e10| 65 6e 2f 63 73 20 65 78 | 63 68 20 64 65 66 2f 63 |en/cs ex|ch def/c|
|00005e20| 61 20 65 78 63 68 20 64 | 65 66 2f 63 66 20 65 78 |a exch d|ef/cf ex|
|00005e30| 63 68 20 64 65 66 0d 2f | 73 65 74 63 6d 79 6b 63 |ch def./|setcmykc|
|00005e40| 6f 6c 6f 72 20 77 68 65 | 72 65 7b 2f 73 65 74 63 |olor whe|re{/setc|
|00005e50| 6d 79 6b 63 6f 6c 6f 72 | 20 67 65 74 20 2f 63 76 |mykcolor| get /cv|
|00005e60| 63 6d 79 6b 20 65 78 63 | 68 20 64 65 66 7d 7b 2f |cmyk exc|h def}{/|
|00005e70| 63 76 63 6d 79 6b 7b 31 | 20 73 75 62 20 34 20 31 |cvcmyk{1| sub 4 1|
|00005e80| 20 72 6f 6c 6c 20 33 7b | 33 20 69 6e 64 65 78 20 | roll 3{|3 index |
|00005e90| 61 64 64 20 6e 65 67 20 | 64 75 70 20 30 20 6c 74 |add neg |dup 0 lt|
|00005ea0| 7b 70 6f 70 20 30 7d 69 | 66 20 33 20 31 20 72 6f |{pop 0}i|f 3 1 ro|
|00005eb0| 6c 6c 7d 72 65 70 65 61 | 74 20 73 65 74 72 67 62 |ll}repea|t setrgb|
|00005ec0| 63 6f 6c 6f 72 20 70 6f | 70 7d 62 64 66 20 7d 69 |color po|p}bdf }i|
|00005ed0| 66 65 6c 73 65 0d 2f 73 | 73 7b 2f 2f 63 66 20 2f |felse./s|s{//cf /|
|00005ee0| 2f 63 61 20 2f 2f 63 73 | 20 73 65 74 73 63 72 65 |/ca //cs| setscre|
|00005ef0| 65 6e 7d 62 64 66 0d 2f | 73 74 67 7b 73 73 20 73 |en}bdf./|stg{ss s|
|00005f00| 65 74 67 72 61 79 7d 62 | 64 66 0d 2f 73 74 72 67 |etgray}b|df./strg|
|00005f10| 62 7b 73 73 20 73 65 74 | 72 67 62 63 6f 6c 6f 72 |b{ss set|rgbcolor|
|00005f20| 7d 62 64 66 0d 2f 73 74 | 63 6d 79 6b 7b 73 73 20 |}bdf./st|cmyk{ss |
|00005f30| 63 76 63 6d 79 6b 7d 62 | 64 66 0d 2f 6d 69 6e 31 |cvcmyk}b|df./min1|
|00005f40| 7b 64 75 70 20 30 20 65 | 71 7b 70 6f 70 20 31 7d |{dup 0 e|q{pop 1}|
|00005f50| 69 66 7d 62 64 66 0d 65 | 6e 64 0d 63 75 72 72 65 |if}bdf.e|nd.curre|
|00005f60| 6e 74 64 69 63 74 20 2f | 62 6e 20 6b 6e 6f 77 6e |ntdict /|bn known|
|00005f70| 20 7b 62 6e 7d 69 66 0d | 00 a0 00 bf 1b 78 00 00 | {bn}if.|.....x..|
|00005f80| 00 00 03 48 02 52 00 11 | 02 ff 0c 00 ff ff ff ff |...H.R..|........|
|00005f90| 00 00 00 00 00 00 00 00 | 02 52 00 00 03 48 00 00 |........|.R...H..|
|00005fa0| 00 00 00 00 00 1e 00 01 | 00 0a 00 00 00 00 03 48 |........|.......H|
|00005fb0| 02 52 00 2c 00 08 00 14 | 05 54 69 6d 65 73 00 03 |.R.,....|.Times..|
|00005fc0| 00 14 00 0d 00 0a 00 2e | 00 04 00 00 00 00 00 2b |........|.......+|
|00005fd0| 36 2d 19 4d 61 63 69 6e | 74 6f 73 68 20 54 65 63 |6-.Macin|tosh Tec|
|00005fe0| 68 6e 69 63 61 6c 20 4e | 6f 74 65 73 00 20 00 2f |hnical N|otes. ./|
|00005ff0| 00 34 00 2f 01 f9 00 0d | 00 0c 00 06 00 02 00 00 |.4./....|........|
|00006000| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 00 00 3c |...d..ON|LN.d...<|
|00006010| 00 36 00 48 01 3e 00 2a | 18 35 45 61 63 68 20 61 |.6.H.>.*|.5Each a|
|00006020| 63 63 65 73 73 20 72 65 | 71 75 69 72 65 73 20 73 |ccess re|quires s|
|00006030| 63 61 6e 6e 69 6e 67 20 | 61 20 6c 69 6e 65 61 72 |canning |a linear|
|00006040| 20 61 72 72 61 79 2e 20 | 20 54 68 65 72 65 20 00 | array. | There .|
|00006050| 00 06 00 03 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00006060| 00 64 00 35 00 3c 01 3e | 00 48 01 f8 00 28 00 45 |.d.5.<.>|.H...(.E|
|00006070| 01 3e 23 69 73 20 6e 6f | 20 68 61 73 68 69 6e 67 |.>#is no| hashing|
|00006080| 20 74 65 63 68 6e 69 71 | 75 65 20 75 73 65 64 20 | techniq|ue used |
|00006090| 6f 6e 20 74 68 65 00 06 | 00 00 00 00 00 a1 00 64 |on the..|.......d|
|000060a0| 00 10 4f 4e 4c 4e 00 64 | 00 59 00 48 00 36 00 54 |..ONLN.d|.Y.H.6.T|
|000060b0| 00 7e 00 28 00 51 00 36 | 0f 72 65 73 6f 75 72 63 |.~.(.Q.6|.resourc|
|000060c0| 65 20 74 79 70 65 73 2e | 00 06 00 03 00 00 00 a1 |e types.|........|
|000060d0| 00 64 00 10 4f 4e 4c 4e | 00 64 00 69 00 60 00 36 |.d..ONLN|.d.i.`.6|
|000060e0| 00 6c 00 b6 00 2a 18 1a | 54 68 65 72 65 20 69 73 |.l...*..|There is|
|000060f0| 20 61 20 73 69 6d 69 6c | 61 72 20 6c 69 6e 65 61 | a simil|ar linea|
|00006100| 72 20 00 06 00 04 00 00 | 00 a1 00 64 00 10 4f 4e |r ......|...d..ON|
|00006110| 4c 4e 00 64 00 83 00 60 | 00 b6 00 6c 01 f8 00 29 |LN.d...`|...l...)|
|00006120| 80 3c 74 61 62 6c 65 20 | 66 6f 72 20 74 68 65 20 |.<table |for the |
|00006130| 72 65 73 6f 75 72 63 65 | 20 49 44 73 20 74 68 65 |resource| IDs the|
|00006140| 6d 73 65 6c 76 65 73 2e | 20 42 61 73 65 64 20 6f |mselves.| Based o|
|00006150| 6e 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 00 06 |n the pr|evious..|
|00006160| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00006170| 00 c0 00 6c 00 36 00 78 | 00 fa 00 28 00 75 00 36 |...l.6.x|...(.u.6|
|00006180| 2b 64 69 73 63 75 73 73 | 69 6f 6e 20 69 74 20 73 |+discuss|ion it s|
|00006190| 68 6f 75 6c 64 20 61 6c | 73 6f 20 62 65 20 61 70 |hould al|so be ap|
|000061a0| 70 61 72 65 6e 74 20 74 | 68 61 74 20 00 06 00 01 |parent t|hat ....|
|000061b0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 eb |.....d..|ONLN.d..|
|000061c0| 00 6c 00 fa 00 78 01 f8 | 00 29 c4 36 69 66 20 74 |.l...x..|.).6if t|
|000061d0| 68 65 72 65 20 61 72 65 | 20 74 68 6f 75 73 61 6e |here are| thousan|
|000061e0| 64 73 20 6f 66 20 72 65 | 73 6f 75 72 63 65 73 20 |ds of re|sources |
|000061f0| 6f 66 20 61 20 73 70 65 | 63 69 66 69 63 20 74 79 |of a spe|cific ty|
|00006200| 70 65 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 22 |pe...d..|ONLN.d."|
|00006210| 00 78 00 36 00 84 01 e4 | 00 28 00 81 00 36 5a 74 |.x.6....|.(...6Zt|
|00006220| 68 61 74 20 74 68 65 20 | 61 63 63 65 73 73 20 74 |hat the |access t|
|00006230| 69 6d 65 20 77 69 6c 6c | 20 62 65 63 6f 6d 65 20 |ime will| become |
|00006240| 6d 75 63 68 20 6c 61 72 | 67 65 72 2e 20 49 74 20 |much lar|ger. It |
|00006250| 77 69 6c 6c 20 62 65 20 | 69 6d 70 65 72 63 65 70 |will be |impercep|
|00006260| 74 69 62 6c 65 20 6f 6e | 20 61 20 73 69 6e 67 6c |tible on| a singl|
|00006270| 65 20 61 63 63 65 73 73 | 20 00 00 06 00 02 00 00 |e access| .......|
|00006280| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 7c 00 78 |...d..ON|LN.d.|.x|
|00006290| 01 e4 00 84 01 f8 00 28 | 00 81 01 e4 04 6f 66 20 |.......(|.....of |
|000062a0| 61 00 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |a.......|...d..ON|
|000062b0| 4c 4e 00 64 01 81 00 84 | 00 36 00 90 00 c8 00 28 |LN.d....|.6.....(|
|000062c0| 00 8d 00 36 1f 72 65 73 | 6f 75 72 63 65 2c 20 62 |...6.res|ource, b|
|000062d0| 75 74 20 66 6f 72 20 74 | 68 6f 75 73 61 6e 64 73 |ut for t|housands|
|000062e0| 20 6f 66 20 00 06 00 01 | 00 00 00 a1 00 64 00 10 | of ....|.....d..|
|000062f0| 4f 4e 4c 4e 00 64 01 a0 | 00 84 00 c8 00 90 01 f8 |ONLN.d..|........|
|00006300| 00 29 92 42 61 63 63 65 | 73 73 65 73 20 74 6f 20 |.).Bacce|sses to |
|00006310| 74 68 65 20 72 65 73 6f | 75 72 63 65 20 66 69 6c |the reso|urce fil|
|00006320| 65 20 74 68 65 20 74 69 | 6d 65 20 73 70 65 6e 74 |e the ti|me spent|
|00006330| 20 74 72 61 76 65 72 73 | 69 6e 67 20 74 68 65 20 | travers|ing the |
|00006340| 6c 69 6e 65 61 72 00 06 | 00 00 00 00 00 a1 00 64 |linear..|.......d|
|00006350| 00 10 4f 4e 4c 4e 00 64 | 01 e3 00 90 00 36 00 9c |..ONLN.d|.....6..|
|00006360| 01 a5 00 28 00 99 00 36 | 50 6c 69 73 74 20 77 69 |...(...6|Plist wi|
|00006370| 6c 6c 20 69 6d 70 61 63 | 74 20 74 68 65 20 6f 76 |ll impac|t the ov|
|00006380| 65 72 61 6c 6c 20 73 70 | 65 65 64 20 6f 66 20 74 |erall sp|eed of t|
|00006390| 68 65 20 70 72 6f 67 72 | 61 6d 2e 20 54 68 65 20 |he progr|am. The |
|000063a0| 75 73 65 72 20 77 69 6c | 6c 20 6e 6f 74 20 62 65 |user wil|l not be|
|000063b0| 20 70 6c 65 61 73 65 64 | 2e 00 00 06 00 03 00 00 | pleased|........|
|000063c0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 34 00 a8 |...d..ON|LN.d.4..|
|000063d0| 00 36 00 b4 01 63 00 2a | 18 38 49 6e 63 72 65 61 |.6...c.*|.8Increa|
|000063e0| 73 69 6e 67 20 74 68 65 | 20 73 6c 6f 77 6e 65 73 |sing the| slownes|
|000063f0| 73 20 62 79 20 68 61 76 | 69 6e 67 20 74 6f 6f 20 |s by hav|ing too |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.